depot: runtime definitions for sculpt installation

This patch supplements 'runtime' files to several pkg archives,
which thereby become deployable by the depot_deploy tool.

Issue #2676
This commit is contained in:
Norman Feske 2018-01-26 21:13:18 +01:00
parent 0253cdd50c
commit fc902b797e
59 changed files with 537 additions and 3 deletions

View File

@ -0,0 +1,2 @@
Runtime for deploying the iPXE NIC driver from the depot

View File

@ -0,0 +1 @@
_/src/ipxe_nic_drv

View File

@ -0,0 +1 @@
2018-02-08 8dbf7e5fa1c1cf4887589fa8233d1e48c5a7f440

View File

@ -0,0 +1,12 @@
<runtime ram="16M" caps="300" binary="nic_drv">
<provides> <nic/> </provides>
<config/>
<content>
<rom label="ld.lib.so"/>
<rom label="nic_drv"/>
</content>
</runtime>

View File

@ -2,4 +2,5 @@ _/src/wifi_drv
_/src/libcrypto
_/src/libssl
_/src/vfs_jitterentropy
_/src/libc
_/raw/wifi_firmware

View File

@ -0,0 +1,38 @@
<runtime ram="54M" caps="300" binary="wifi_drv">
<requires> <rom label="wlan_configuration"/> </requires>
<provides> <nic/> </provides>
<config ld_verbose="yes" verbose="yes" use_11n="no" connected_scan_interval="0">
<vfs>
<dir name="dev"> <log/> <rtc/> <null/>
<jitterentropy name="random"/>
<jitterentropy name="urandom"/>
</dir>
<dir name="config"> <ram/> </dir>
</vfs>
<libc stdout="/dev/null" stderr="/dev/log" rtc="/dev/rtc"/>
</config>
<content>
<rom label="ld.lib.so"/>
<rom label="wifi_drv"/>
<rom label="libcrypto.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="vfs_jitterentropy.lib.so"/>
<rom label="libssl.lib.so"/>
<rom label="wifi.lib.so"/>
<rom label="wpa_driver_nl80211.lib.so"/>
<rom label="wpa_supplicant.lib.so"/>
<rom label="iwlwifi-1000-5.ucode.lib.so"/>
<rom label="iwlwifi-3160-16.ucode"/>
<rom label="iwlwifi-6000-4.ucode"/>
<rom label="iwlwifi-6000g2a-6.ucode"/>
<rom label="iwlwifi-6000g2b-6.ucode"/>
<rom label="iwlwifi-7260-16.ucode"/>
<rom label="iwlwifi-7265-16.ucode"/>
<rom label="iwlwifi-7265D-16.ucode"/>
<rom label="iwlwifi-8000C-16.ucode"/>
</content>
</runtime>

View File

@ -0,0 +1,2 @@
Simple software-rendering demo application

View File

@ -0,0 +1 @@
_/src/nano3d

View File

@ -0,0 +1 @@
2018-01-29 202a86fee398e3faa640daa615bf828e644a7ecb

View File

@ -0,0 +1,12 @@
<runtime ram="4M" caps="200" binary="nano3d">
<requires> <nitpicker/> <timer/> </requires>
<config/>
<content>
<rom label="ld.lib.so"/>
<rom label="nano3d"/>
</content>
</runtime>

View File

@ -0,0 +1 @@
Backdrop composed of a blueish underwater picture, a grid, and a Genode logo

View File

@ -0,0 +1,3 @@
_/pkg/backdrop
_/raw/genode_bg
_/raw/sticks_blue_backdrop

View File

@ -0,0 +1 @@
2018-01-26 1d32f9c93c20fdc1b9f7ae894bdbbe1394208ce6

View File

@ -0,0 +1,18 @@
<runtime ram="48M" caps="300" binary="backdrop" config="backdrop.config">
<requires> <nitpicker/> </requires>
<content>
<rom label="backdrop.config"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="backdrop"/>
<rom label="sticks_blue.png"/>
<rom label="grid.png"/>
<rom label="genode_logo.png"/>
<rom label="libpng.lib.so"/>
<rom label="zlib.lib.so"/>
</content>
</runtime>

View File

@ -1,3 +1,6 @@
_/pkg/wm
_/raw/themed_wm
_/src/themed_decorator
_/src/libc
_/src/libpng
_/src/zlib

View File

@ -0,0 +1,23 @@
<runtime ram="28M" caps="1000" binary="init" config="wm.config">
<requires> <nitpicker/> <timer/> </requires>
<provides> <nitpicker/> </provides>
<content>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libpng.lib.so"/>
<rom label="zlib.lib.so"/>
<rom label="report_rom"/>
<rom label="themed_decorator"/>
<rom label="floating_window_layouter"/>
<rom label="wm"/>
<rom label="wm.config"/>
<rom label="decorator_init.config"/>
<rom label="layouter.config"/>
<rom label="plain_decorator_theme.tar"/>
</content>
</runtime>

View File

@ -0,0 +1,13 @@
<config>
<libc/>
<vfs>
<rom name="genode_logo.png"/>
<rom name="grid.png"/>
<rom name="sticks_blue.png"/>
</vfs>
<fill color="#223344" />
<image png="sticks_blue.png" scale="zoom" anchor="bottom_left" alpha="200"/>
<image png="grid.png" tiled="yes" alpha="200" />
<image png="genode_logo.png" anchor="bottom_right" alpha="150"
xpos="-20" ypos="-20" />
</config>

View File

@ -0,0 +1,9 @@
content: backdrop.config
backdrop.config:
cp $(REP_DIR)/recipes/raw/sticks_blue_backdrop/$@ $@
content: sticks_blue.png
sticks_blue.png:
wget --quiet https://genode.org/files/turmvilla/sticks_blue.png

View File

@ -0,0 +1 @@
2018-02-07 ec649db3a6f5af0dc346494cabbcece4fc6678f8

View File

@ -8,7 +8,7 @@
<service name="Timer"/>
<service name="Report"/>
</parent-provides>
<start name="decorator" caps="200">
<start name="decorator" caps="300">
<binary name="themed_decorator"/>
<resource name="RAM" quantum="8M"/>
<config>

View File

@ -36,7 +36,7 @@
</config>
</start>
<start name="wm" caps="150">
<start name="wm" caps="250">
<resource name="RAM" quantum="6M"/>
<provides>
<service name="Nitpicker"/>
@ -71,7 +71,7 @@
</route>
</start>
<start name="decorator" caps="250">
<start name="decorator" caps="350">
<binary name="init"/>
<resource name="RAM" quantum="12M"/>
<route>

View File

@ -0,0 +1,2 @@
SRC_DIR = src/app/nano3d
include $(GENODE_DIR)/repos/base/recipes/src/content.inc

View File

@ -0,0 +1 @@
2018-01-29 112c19a8f27de169dd91bd26b157076da17ff1c2

View File

@ -0,0 +1,9 @@
base
os
blit
framebuffer_session
input_session
nitpicker_session
timer_session
nano3d
polygon_gfx

View File

@ -8,3 +8,4 @@ _/src/pdf_view
_/src/openjpeg
_/src/zlib
_/src/nit_fb
_/raw/pdf_view

View File

@ -0,0 +1,21 @@
<runtime ram="64M" caps="2000" binary="init" config="pdf_view.config">
<requires> <timer/> <nitpicker/> <rom label="slides.pdf"/> </requires>
<content>
<rom label="pdf_view.config"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libpng.lib.so"/>
<rom label="zlib.lib.so"/>
<rom label="pdf_view"/>
<rom label="mupdf.lib.so"/>
<rom label="nit_fb"/>
<rom label="freetype.lib.so"/>
<rom label="jbig2dec.lib.so"/>
<rom label="jpeg.lib.so"/>
<rom label="openjpeg.lib.so"/>
</content>
</runtime>

View File

@ -0,0 +1,4 @@
content: pdf_view.config
pdf_view.config:
cp $(REP_DIR)/recipes/raw/pdf_view/$@ $@

View File

@ -0,0 +1 @@
2018-01-26 dddda7ba6d4b95110621e1eb4140382e1e07624e

View File

@ -0,0 +1,39 @@
<config>
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Timer"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="nit_fb">
<resource name="RAM" quantum="16M"/>
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config xpos="64" ypos="64" initial_width="320" initial_height="240"/>
</start>
<start name="pdf_view" caps="300">
<binary name="pdf_view"/>
<resource name="RAM" quantum="100M"/>
<config>
<vfs>
<rom name="test.pdf" />
<dir name="dev"> <log/> </dir>
</vfs>
<libc stdout="/dev/log" stderr="/dev/log"/>
</config>
<route>
<service name="ROM" label="test.pdf"> <parent label="slides.pdf"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
</config>

View File

@ -0,0 +1,2 @@
Runtime for deploying the chroot component from the depot

View File

@ -0,0 +1 @@
_/src/chroot

View File

@ -0,0 +1 @@
2018-02-01 87ba95cdfd0cfa50394a309d9975b8bb77ba35ad

View File

@ -0,0 +1,13 @@
<runtime ram="1M" caps="100" binary="chroot">
<requires> <file_system/> </requires>
<provides> <file_system/> </provides>
<config/>
<content>
<rom label="ld.lib.so"/>
<rom label="chroot"/>
</content>
</runtime>

View File

@ -0,0 +1,2 @@
Runtime for using the NIC router for network-address translation

View File

@ -0,0 +1 @@
_/src/nic_router

View File

@ -0,0 +1 @@
2018-02-08-a 1f186691c2297428b0a348d821d143252657c474

View File

@ -0,0 +1,26 @@
<runtime ram="10M" caps="300" binary="nic_router">
<requires> <nic/> </requires>
<provides> <nic/> </provides>
<config verbose_domain_state="yes">
<default-policy domain="default" />
<domain name="uplink">
<nat domain="default" tcp-ports="1000" udp-ports="1000"/>
</domain>
<domain name="default" interface="10.0.1.1/24">
<dhcp-server ip_first="10.0.1.2"
ip_last="10.0.1.200"
ip_lease_time_sec="360"
dns_server="213.73.91.35"/>
<tcp dst="0.0.0.0/0"><permit-any domain="uplink"/></tcp>
<udp dst="0.0.0.0/0"><permit-any domain="uplink"/></udp>
</domain>
</config>
<content>
<rom label="ld.lib.so"/>
<rom label="nic_router"/>
</content>
</runtime>

View File

@ -0,0 +1,2 @@
Runtime for deploying the default nitpicker focus policy

View File

@ -0,0 +1 @@
_/src/nit_focus

View File

@ -0,0 +1 @@
2018-02-14 bfe065ce8afc7f5e0838dbec1454dea9817df2db

View File

@ -0,0 +1,18 @@
<runtime ram="1M" caps="100" binary="nit_focus">
<requires>
<rom label="clicked"/>
<report label="focus"/>
</requires>
<config>
<policy label_prefix="leitzentrale" focus="no"/>
<default-policy focus="yes"/>
</config>
<content>
<rom label="ld.lib.so"/>
<rom label="nit_focus"/>
</content>
</runtime>

View File

@ -0,0 +1,2 @@
Runtime for deploying the ROM-filter component from the depot

View File

@ -0,0 +1 @@
_/src/rom_filter

View File

@ -0,0 +1 @@
2018-02-08-a c12dfe5a845663b1c9b21199f64bb209af3438f2

View File

@ -0,0 +1,13 @@
<runtime ram="2M" caps="100" binary="rom_filter">
<requires> <rom/> </requires>
<provides> <rom/> </provides>
<config/>
<content>
<rom label="ld.lib.so"/>
<rom label="rom_filter"/>
</content>
</runtime>

View File

@ -0,0 +1,3 @@
Noux runtime that allows the user to interact with a 'report' file system
(mounted at /report), a 'config' file system (mounted at /config), and a
'target' file system (mounted at /rw).

View File

@ -0,0 +1,11 @@
_/raw/noux-system
_/src/noux
_/src/bash-minimal
_/src/vim-minimal
_/src/coreutils-minimal
_/src/libc
_/src/posix
_/src/ncurses
_/src/nit_fb
_/src/terminal
_/src/init

View File

@ -0,0 +1 @@
2018-01-29-e bc5e5d535ab18b4b48080a00ca5b8bc24cfb1b32

View File

@ -0,0 +1,29 @@
<runtime ram="72M" caps="1000" binary="init" config="init.config">
<requires>
<nitpicker/>
<timer/>
<file_system label="config" writeable="yes"/>
<file_system label="report" writeable="no"/>
<file_system label="target" writeable="yes"/>
<rom label="vimrc"/>
</requires>
<content>
<rom label="init.config"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="init"/>
<rom label="nit_fb"/>
<rom label="terminal"/>
<rom label="noux"/>
<rom label="libc_noux.lib.so"/>
<rom label="posix.lib.so"/>
<rom label="ncurses.lib.so"/>
<rom label="bash-minimal.tar"/>
<rom label="coreutils-minimal.tar"/>
<rom label="vim-minimal.tar"/>
</content>
</runtime>

View File

@ -0,0 +1,2 @@
VirtualBox runtime for hosting a large VM in the Sculpt scenario

View File

@ -0,0 +1,12 @@
_/raw/vbox5-nova-sculpt
_/src/vbox5-nova
_/src/base-nova
_/src/libc
_/src/init
_/src/nit_fb
_/src/libc
_/src/posix
_/src/zlib
_/src/nit_fb
_/src/libiconv
_/src/stdcxx

View File

@ -0,0 +1 @@
2018-02-01 83ec4873444077800447ee48620c852e36a8e465

View File

@ -0,0 +1,26 @@
<runtime ram="8300M" caps="1500" binary="init" config="init.config">
<requires>
<file_system label="vm"/>
<file_system label="shared"/>
<nic/>
</requires>
<content>
<rom label="init.config"/>
<rom label="ld.lib.so"/>
<rom label="init"/>
<rom label="nit_fb"/>
<rom label="timer"/>
<rom label="virtualbox5-nova"/>
<rom label="libc.lib.so"/>
<rom label="libc_pipe.lib.so"/>
<rom label="libc_terminal.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="pthread.lib.so"/>
<rom label="libiconv.lib.so"/>
<rom label="qemu-usb.lib.so"/>
<rom label="stdcxx.lib.so"/>
</content>
</runtime>

View File

@ -0,0 +1,4 @@
content: init.config
init.config:
cp $(REP_DIR)/recipes/raw/noux-system/$@ $@

View File

@ -0,0 +1 @@
2018-02-08 c584f68d8457ce4ef8c9c31e5879902642f2e438

View File

@ -0,0 +1,58 @@
<config>
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Timer"/>
<service name="File_system"/>
<service name="Nitpicker"/>
</parent-provides>
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
<default caps="100"/>
<start name="nit_fb">
<resource name="RAM" quantum="4M"/>
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config xpos="10" ypos="10" initial_width="800" initial_height="600"/>
</start>
<start name="terminal">
<resource name="RAM" quantum="4M"/>
<provides> <service name="Terminal"/> </provides>
<config> <keyboard layout="none"/> <font size="16" /> </config>
</start>
<start name="noux" caps="500">
<resource name="RAM" quantum="60M" />
<exit propagate="yes"/>
<config>
<fstab>
<tar name="bash-minimal.tar" />
<tar name="coreutils-minimal.tar" />
<tar name="vim-minimal.tar" />
<dir name="dev"> <zero/> <null/> </dir>
<dir name="rw"> <fs label="target"/> </dir>
<dir name="report"> <fs label="report"/> </dir>
<dir name="config"> <fs label="config"/> </dir>
<dir name="tmp"> <ram /> </dir>
<dir name="share"> <dir name="vim"> <rom name="vimrc"/> </dir> </dir>
</fstab>
<start name="/bin/bash">
<env name="TERM" value="linux" />
<env name="PS1" value="noux:$PWD> " />
</start>
</config>
<route>
<service name="File_system" label="target"> <parent label="target"/> </service>
<service name="File_system" label="config"> <parent label="config"/> </service>
<service name="File_system" label="report"> <parent label="report"/> </service>
<service name="ROM" label="vimrc"> <parent label="vimrc"/> </service>
<service name="Terminal"> <child name="terminal"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
</config>

View File

@ -0,0 +1,4 @@
content: init.config
init.config:
cp $(REP_DIR)/recipes/raw/vbox5-nova-sculpt/$@ $@

View File

@ -0,0 +1 @@
2018-02-08 703a35fea40e7de5089229dc3cae37292c52fc33

View File

@ -0,0 +1,74 @@
<config verbose="yes" prio_levels="2">
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Nitpicker"/>
<service name="Timer"/>
<service name="Rtc"/>
<service name="Report"/>
<service name="File_system"/>
<service name="Usb"/>
<service name="Nic"/>
</parent-provides>
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
<default caps="100"/>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
<config/>
<route>
<service name="ROM" label="hypervisor_info_page">
<parent label="hypervisor_info_page"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="nit_fb" priority="0">
<resource name="RAM" quantum="8M" />
<provides>
<service name="Framebuffer" /> <service name="Input" />
</provides>
<config xpos="32" ypos="32" initial_width="-64" initial_height="-64" />
<route>
<service name="Nitpicker"> <parent label=""/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="vbox" priority="-1" caps="1000">
<binary name="virtualbox5-nova" />
<resource name="RAM" quantum="8G"/>
<exit propagate="yes"/>
<config vbox_file="machine.vbox" xhci="yes" vm_name="linux" capslock="ROM">
<vfs>
<dir name="dev">
<log/>
<rtc/>
</dir>
<dir name="shared"> <fs label="shared" writeable="yes"/> </dir>
<fs writeable="yes"/>
</vfs>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
</config>
<route>
<service name="Audio_out"> <parent/> </service>
<service name="File_system" label="shared"> <parent label="shared"/> </service>
<service name="File_system"> <parent label="vm"/> </service>
<service name="ROM" label="usb_devices"> <parent label="usb_devices"/> </service>
<service name="ROM" label="capslock"> <parent label="capslock"/> </service>
<service name="ROM" label="hypervisor_info_page">
<parent label="hypervisor_info_page"/> </service>
<service name="Nic"> <parent/> </service>
<service name="Report" label="shape"> <parent label="shape"/> </service>
<any-service> <parent/> <child name="nit_fb"/> </any-service>
</route>
</start>
</config>