create_boot_directory # the test currently is tied to the x86-only iPXE NIC driver if {![have_spec x86] || [have_spec linux]} { puts "Run script does not support this platform." exit 0 } import_from_depot genodelabs/src/[base_src] \ genodelabs/src/report_rom \ genodelabs/src/fs_rom \ genodelabs/src/vfs \ genodelabs/src/vfs_lxip \ genodelabs/src/fetchurl \ genodelabs/src/libc \ genodelabs/src/libssh \ genodelabs/src/libssl \ genodelabs/src/libcrypto \ genodelabs/src/zlib \ genodelabs/src/curl \ genodelabs/src/init \ genodelabs/src/chroot \ genodelabs/src/acpi_drv \ genodelabs/src/ipxe_nic_drv \ genodelabs/src/platform_drv \ genodelabs/src/extract \ genodelabs/src/libarchive \ genodelabs/src/liblzma \ genodelabs/src/verify source ${genode_dir}/repos/base/run/platform_drv.inc set config { } append_platform_drv_config proc depot_user { } { return genodelabs } proc depot_user_download { } { return [exec cat [genode_dir]/depot/[depot_user]/download] } proc depot_user_pubkey { } { return [exec cat [genode_dir]/depot/[depot_user]/pubkey] } append config { } [depot_user_download] { } [depot_user_pubkey] { } set fd [open [run_dir]/genode/installation w] puts $fd " " close $fd install_config $config file copy -force [genode_dir]/repos/gems/recipes/raw/depot_download/depot_download.config \ [run_dir]/genode/depot_download.config build { app/depot_download_manager app/depot_query } append boot_modules { depot_download_manager depot_query } build_boot_image $boot_modules append qemu_args " -nographic -net nic,model=e1000 -net user " run_genode_until {.*\[init -> depot_download -> manager\] installation complete.*\n} 150