create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_interactive_pkg] \ [depot_user]/pkg/fonts_fs \ [depot_user]/pkg/backdrop \ [depot_user]/src/dynamic_rom \ [depot_user]/src/report_rom \ [depot_user]/src/fs_rom \ [depot_user]/src/fs_report \ [depot_user]/src/ram_fs \ [depot_user]/src/nitpicker \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/wm \ [depot_user]/src/themed_decorator \ [depot_user]/src/nic_router \ [depot_user]/src/nit_fb \ [depot_user]/src/nit_fader \ [depot_user]/src/libpng \ [depot_user]/src/zlib \ [depot_user]/src/menu_view \ [depot_user]/src/fs_query \ [depot_user]/src/rom_filter \ [depot_user]/src/noux \ [depot_user]/src/terminal \ [depot_user]/src/posix \ [depot_user]/src/ram_block \ [depot_user]/src/part_block \ [depot_user]/src/rump \ [depot_user]/src/ncurses \ [depot_user]/src/usb_block_drv \ [depot_user]/src/bash-minimal \ [depot_user]/src/vim-minimal \ [depot_user]/src/coreutils-minimal \ [depot_user]/src/fs_utils \ [depot_user]/src/gpt_write \ [depot_user]/src/text_area \ [depot_user]/src/sandbox \ [depot_user]/src/window_layouter install_config { See the core log for messages. } file copy -force [genode_dir]/repos/gems/run/sculpt/fonts.config [run_dir]/genode/ file copy -force [genode_dir]/repos/gems/run/sculpt/leitzentrale.config [run_dir]/genode/ file copy -force [genode_dir]/repos/gems/run/sculpt/vimrc [run_dir]/genode/ file copy -force [genode_dir]/repos/gems/src/app/backdrop/genode_logo.png [run_dir]/genode/ file copy -force [genode_dir]/repos/gems/run/sculpt/drop_shadow.png [run_dir]/genode/ proc install_rom_module { name content } { set fd [open [run_dir]/genode/$name w] puts $fd $content close $fd } # generate disk image with GPT partition table proc ahci_1_img { } { return "bin/ahci-1.img" } catch { exec dd if=/dev/zero of=[ahci_1_img] bs=1M count=10 } exec parted -a none -s [ahci_1_img] -- mklabel gpt \ mkpart BOOT fat32 256s 1023s \ mkpart GRUB fat32 1024s 1279s \ mkpart GENODE ext2 1280s 3700s install_rom_module focus {} install_rom_module leitzentrale {} install_rom_module reset {} install_rom_module README {nothing to read here} install_rom_module VERSION {unknown version} install_rom_module platform_info {} install_rom_module block_devices { } install_rom_module usb_active_config { } build { server/lx_block app/menu_view app/sculpt_manager } build_boot_image { lx_block menu_view sculpt_manager ahci-1.img } if {[have_spec linux]} { set max_fds [exec bash -c "ulimit -n"] if {$max_fds < 4096} { puts stderr "\nMaximum number of file descriptors is too low for this run script." puts stderr "You may use the following command to increase the limit:\n" puts stderr " ulimit -n 4096\n" exit 1 } } run_genode_until forever