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 lib/libc lib/vfs lib/libarchive lib/liblzma lib/zlib } build_boot_image [build_artifacts] append qemu_args " -nographic " run_genode_until {child "extract" exited with exit value 0} 30