source ${genode_dir}/repos/base/run/platform_drv.inc create_boot_directory proc depot_user {} { return [get_cmd_arg --depot-user genodelabs] } proc current_pkg { pkg } { return $pkg/[_current_depot_archive_version pkg $pkg] } import_from_depot genodelabs/src/[base_src] \ genodelabs/src/report_rom \ genodelabs/src/fs_rom \ genodelabs/src/ram_fs \ genodelabs/src/vfs \ genodelabs/src/init \ genodelabs/src/ipxe_nic_drv \ genodelabs/src/acpi_drv \ genodelabs/src/platform_drv \ genodelabs/src/rtc_drv \ genodelabs/src/posix \ genodelabs/src/libc \ genodelabs/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