From c4f2e7192f2ea2aa74ac087f38ad968c3b5579c1 Mon Sep 17 00:00:00 2001 From: Pirmin Duss Date: Thu, 28 Sep 2023 14:45:27 +0200 Subject: [PATCH] WIP: run/ssh_client: fix run script driver config Remove the dependency to repos/base/run/platform_drv.inc This doesn't work yet. Issue #342 --- run/ssh_client.run | 186 +++++++++++++++++++++++++++------------------ 1 file changed, 111 insertions(+), 75 deletions(-) diff --git a/run/ssh_client.run b/run/ssh_client.run index f2518c472..6f3fb0aab 100644 --- a/run/ssh_client.run +++ b/run/ssh_client.run @@ -7,27 +7,26 @@ assert_spec x86 set build_components { app/ssh_client - drivers/nic - lib/vfs_import - lib/vfs_lwip } -source ${genode_dir}/repos/base/run/platform_drv.inc -append_platform_drv_build_components - build $build_components create_boot_directory import_from_depot \ - genodelabs/src/[base_src] \ - genodelabs/pkg/[drivers_interactive_pkg] \ - genodelabs/src/init \ - genodelabs/pkg/terminal \ - genodelabs/src/input_filter \ + [depot_user]/pkg/[drivers_interactive_pkg] \ + [depot_user]/pkg/terminal \ + [depot_user]/src/[base_src] \ + [depot_user]/src/init \ + [depot_user]/src/nic_router \ + [depot_user]/src/nitpicker \ + [depot_user]/src/pc_nic_drv \ + [depot_user]/src/vfs \ + [depot_user]/src/vfs_import \ + [depot_user]/src/vfs_lwip \ append config { - + @@ -40,64 +39,101 @@ append config { - - } - -append_platform_drv_config + + -append config { - - - - + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + - - - + + + + + + + + + - - - - - - - - - - - - - - + + + - - + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + @@ -107,42 +143,42 @@ append config { - 2000-01-01 00:00 - 01234567890123456789 + + 2000-01-01 00:00 + g0Kof/YMRG8NLASiukpI6f5QQinTPyOpzkreUXr3HCMiRVpn14GkiyQ0ezrN2KAK + + + + - + + + + + + + - -} -install_config $config + } -# generic modules -set boot_modules { - pc_nic_drv - libc.lib.so - libcrypto.lib.so - libm.lib.so - libssh.lib.so - ssh_client - vfs_import.lib.so - vfs.lib.so - vfs_lwip.lib.so - zlib.lib.so -} +install_config $config -# platform-specific modules -append_platform_drv_boot_modules -build_boot_image $boot_modules +build_boot_image [build_artifacts] append qemu_args " -object filter-dump,id=net0,netdev=net0,file=[run_dir].pcap" +append qemu_args " -usbdevice mouse -usbdevice keyboard " run_genode_until forever