#
# Build
#
set build_components {
core init
app/rom_logger
app/rom_to_file
drivers/timer
lib/vfs/rump
server/dynamic_rom
server/fs_rom
server/ram_blk
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
ram_blk
rom_logger
rom_to_file
rump_fs.lib.so
rump.lib.so
timer
vfs
vfs.lib.so
vfs_rump.lib.so
}
build_boot_image $boot_modules
append qemu_args " -nographic"
run_genode_until {.*.*} 60
file delete bin/ext2.img