assert {[have_recipe pkg/[drivers_interactive_pkg]]} \ "Recipe for 'pkg/[drivers_interactive_pkg]' not available." if {[have_cmd_switch --autopilot]} { assert {![have_board linux] && ![have_include power_on/qemu]} \ "Autopilot mode is not supported on this platform." } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_interactive_pkg] \ [depot_user]/src/rom_filter \ [depot_user]/src/report_rom \ [depot_user]/src/global_keys_handler \ [depot_user]/src/nitpicker \ [depot_user]/src/nit_focus \ [depot_user]/src/demo \ [depot_user]/src/init build { app/status_bar test/nitpicker } install_config { } # # Create launchpad configuration # set launchpad_config_fd [open "bin/launchpad.config" w] puts $launchpad_config_fd { } close $launchpad_config_fd build_boot_image [list {*}[build_artifacts] launchpad.config] if {[have_cmd_switch --autopilot]} { run_genode_until {\[init -> scout\] png is.*\n} 40 grep_output {(requests resources: )|(Error)} # remove Error messages which are not fatal, mostly unify_output {(?n)^.*platform] Error:.*ACPI table information is wrong.*$} "" unify_output {(?n)^.*platform] Error: adjust size from.*$} "" unify_output {(?n)^.*ps2] Error: no data available.*$} "" unify_output {(?n)^.*ps2] Error: failed to read from port.*$} "" unify_output {(?n)^.*] Error: RAM preservation exceeds available memory.*$} "" compare_output_to {} } else { run_genode_until forever }