genode/repos/ports/recipes/pkg/noux-build-x86/runtime
2018-11-27 11:38:13 +01:00

122 lines
3.3 KiB
Plaintext

<runtime ram="128M" caps="2048" binary="init">
<requires>
<nitpicker/>
<timer/>
<file_system label="target" writeable="yes"/>
<file_system label="fonts" writeable="no"/>
<rom label="vimrc"/>
</requires>
<content>
<rom label="bash.tar"/>
<rom label="binutils_x86.tar"/>
<rom label="coreutils.tar"/>
<rom label="findutils.tar"/>
<rom label="gcc.tar"/>
<rom label="gmp.lib.so"/>
<rom label="grep.tar"/>
<rom label="init"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libc_noux.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="make.tar"/>
<rom label="mpc.lib.so"/>
<rom label="mpfr.lib.so"/>
<rom label="ncurses.lib.so"/>
<rom label="nit_fb"/>
<rom label="noux"/>
<rom label="pcre.lib.so"/>
<rom label="posix.lib.so"/>
<rom label="sed.tar"/>
<rom label="stdcxx.lib.so"/>
<rom label="tar.tar"/>
<rom label="terminal"/>
<rom label="vfs.lib.so"/>
<rom label="vim-minimal.tar"/>
<rom label="which.tar"/>
</content>
<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>
<vfs> <dir name="fonts"> <fs/> </dir> </vfs>
</config>
<route>
<service name="File_system"> <parent label="fonts"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="noux" caps="4096">
<resource name="RAM" quantum="1G" />
<exit propagate="yes"/>
<config>
<fstab>
<tar name="bash.tar" />
<tar name="coreutils.tar" />
<tar name="findutils.tar" />
<tar name="grep.tar" />
<tar name="make.tar" />
<tar name="sed.tar" />
<tar name="tar.tar" />
<tar name="vim-minimal.tar" />
<tar name="which.tar" />
<dir name="bin">
<symlink name="sh" target="bash"/>
</dir>
<dir name="dev"> <zero/> <null/> </dir>
<dir name="share"> <dir name="vim"> <rom name="vimrc"/> </dir> </dir>
<dir name="tmp"> <ram /> </dir>
<dir name="usr">
<symlink name="bin" target="/bin"/>
<dir name="local">
<dir name="genode-gcc">
<tar name="binutils_x86.tar" />
<tar name="gcc.tar" />
</dir>
</dir>
</dir>
<fs label="target"/>
</fstab>
<start name="/bin/bash">
<env name="TERM" value="screen" />
<env name="PATH" value="/bin" />
<env name="PS1" value="noux-build:$PWD> " />
</start>
</config>
<route>
<service name="File_system" label="target"> <parent label="target"/> </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>
</runtime>