create_boot_directory if {[get_cmd_switch --autopilot] && [have_board virt_qemu_riscv]} { puts "Autopilot mode is not supported on this platform." exit 0 } import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/init install_config { } exec tar cJf [run_dir]/genode/test.tar.xz -C [genode_dir] tool/depot exec xz < [genode_dir]/LICENSE > [run_dir]/genode/LICENSE.xz build { app/extract } build_boot_image { extract libc.lib.so vfs.lib.so libarchive.lib.so liblzma.lib.so zlib.lib.so } append qemu_args " -nographic " run_genode_until {child "extract" exited with exit value 0} 30