diff --git a/repos/ports/run/bash.run b/repos/ports/run/bash.run index 075ddf3dd60..31861a76b6a 100644 --- a/repos/ports/run/bash.run +++ b/repos/ports/run/bash.run @@ -10,6 +10,9 @@ import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/bash \ [depot_user]/src/coreutils \ [depot_user]/src/vfs \ + [depot_user]/src/vfs_block \ + [depot_user]/src/vfs_fatfs \ + [depot_user]/src/vfs_import \ [depot_user]/src/vfs_pipe \ [depot_user]/src/nitpicker \ [depot_user]/src/fs_rom @@ -86,6 +89,21 @@ install_config { + + + + + + + + + + + + + + @@ -98,6 +116,7 @@ install_config { + 2018-01-01 00:01 @@ -145,8 +164,30 @@ set fd [open [run_dir]/genode/focus w] puts $fd " \" domain=\"default\"/>" close $fd + +# +# Prepare hard-disk image for test (used in RAM) +# + +set disk_image "bin/test.hda" +set cmd "dd if=/dev/zero of=$disk_image bs=1024 count=65536" +puts "creating disk image: $cmd" +catch { exec sh -c $cmd } + +set mkfs_cmd [installed_command mkfs.vfat] +set mkfs_opts "-F32 -nlibc_vfs" + +set cmd "$mkfs_cmd $mkfs_opts $disk_image" +puts "formating disk: $cmd" +catch { exec sh -c $cmd } + + +# +# Boot modules +# + build { lib/ld lib/libc lib/vfs lib/posix test/fork test/execve } -build_boot_image [build_artifacts] +build_boot_image [list {*}[build_artifacts] test.hda] run_genode_until forever