assert_spec x86_64
build { app/file_vault }
create_boot_directory
append archives "
[depot_user]/src/[base_src]
[depot_user]/pkg/[drivers_interactive_pkg]
[depot_user]/pkg/fonts_fs
[depot_user]/src/init
[depot_user]/src/nitpicker
[depot_user]/src/libc
[depot_user]/src/libpng
[depot_user]/src/zlib
[depot_user]/src/fs_query
[depot_user]/src/menu_view
[depot_user]/src/cbe
[depot_user]/src/spark
[depot_user]/src/libsparkcrypto
[depot_user]/src/vfs_block
[depot_user]/src/vfs_jitterentropy
[depot_user]/src/vfs
[depot_user]/src/openssl
[depot_user]/src/fs_tool
[depot_user]/src/fs_utils
[depot_user]/src/posix
[depot_user]/src/rump
[depot_user]/src/sandbox
"
append_if [have_board linux] archives [depot_user]/src/lx_fs
import_from_depot $archives
append config {
}
if {[have_board linux]} {
append config {
}
} else {
append config {
}
}
append config {
}
install_config $config
set fd [open [run_dir]/genode/focus w]
puts $fd " \"/>"
close $fd
if {[have_board linux]} {
exec mkdir -p bin/file_vault_dir/data
exec mkdir -p bin/file_vault_dir/trust_anchor
}
append boot_modules {
file_vault
file_vault-sync_to_cbe_vfs_init
file_vault-truncate_file
}
append qemu_args " -display gtk "
append_if [have_board linux] boot_modules file_vault_dir
build_boot_image $boot_modules
run_genode_until forever