source ${genode_dir}/repos/base/run/platform_drv.inc create_boot_directory proc current_pkg { pkg } { return $pkg/[_current_depot_archive_version pkg $pkg] } import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/report_rom \ [depot_user]/src/fs_rom \ [depot_user]/src/ram_fs \ [depot_user]/src/vfs \ [depot_user]/src/init \ [depot_user]/src/ipxe_nic_drv \ [depot_user]/src/acpi_drv \ [depot_user]/src/platform_drv \ [depot_user]/src/rtc_drv \ [depot_user]/src/posix \ [depot_user]/src/libc \ [depot_user]/src/vfs_lxip \ create_tar_from_depot_binaries [run_dir]/genode/depot.tar \ [depot_user]/pkg/nic_router-nat-dns \ append config { } append_platform_drv_config append config { } install_config $config append qemu_args -nographic build { app/depot_query app/depot_deploy test/libc_getaddrinfo } build_boot_image { depot_query depot_deploy test-libc_getaddrinfo } run_genode_until "child \"test-libc_getaddrinfo\" exited with exit value 0.*\n" 120