#
# Build
#
set build_components {
core init timer
app/rom_logger
app/rom_to_file
lib/vfs/rump
lib/vfs/import
server/dynamic_rom
server/fs_rom
server/vfs_block
server/vfs
}
build $build_components
create_boot_directory
catch { exec dd if=/dev/zero of=bin/ext2.img bs=1024 count=8192 }
set mkfs_cmd [installed_command mkfs.ext2]
catch { exec $mkfs_cmd -F bin/ext2.img }
#
# Generate config
#
append config {
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core ld.lib.so init
dynamic_rom
ext2.img
fs_rom
vfs_block
rom_logger
rom_to_file
rump_fs.lib.so
rump.lib.so
timer
vfs
vfs.lib.so
vfs_rump.lib.so
vfs_import.lib.so
}
build_boot_image $boot_modules
append qemu_args " -nographic"
run_genode_until {.*.*} 60
file delete bin/ext2.img