genode/repos/gems/run/sculpt/load_runtime.config
Norman Feske 1f1302e185 terminal: use VFS-based font handling
This patch replaces the terminal's formerly built-in fonts with the new
VFS-based font handling.

To avoid the copying of the terminal's font configuration across run
scripts, this patch adds the new terminal/pkg runtime package, which
includes everything needed for instantiating a terminal: the actual
terminal component, the library dependencies (vfs_ttf, which in turn
depends on the libc), a font (bitstream-vera), and a reasonable default
configuration.

Fixes #2758
2018-05-03 15:31:17 +02:00

87 lines
2.7 KiB
Plaintext

<config verbose="yes">
<report init_ram="yes" requested="yes" child_ram="yes" delay_ms="2000" buffer="128K"/>
<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="Report"/>
<service name="Block"/>
<service name="File_system"/>
</parent-provides>
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
<default caps="100"/>
<start name="fs" caps="500">
<resource name="RAM" quantum="114M"/>
<binary name="init"/>
<route>
<service name="ROM" label="config">
<parent label="config -> subinit/default_fs.config"/> </service>
<any-service> <parent/> </any-service>
</route>
<provides> <service name="File_system"/> </provides>
</start>
<start name="nit_fb" version="initial">
<resource name="RAM" quantum="4M"/>
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config xpos="200" ypos="5000" width="800" height="600"/>
</start>
<start name="terminal" version="initial">
<binary name="terminal"/>
<resource name="RAM" quantum="4M"/>
<provides> <service name="Terminal"/> </provides>
<route>
<service name="ROM" label="config"> <parent label="config -> fonts.config"/> </service>
<service name="Framebuffer"> <child name="nit_fb"/> </service>
<service name="Input"> <child name="nit_fb"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="noux" caps="500" version="initial">
<binary name="noux"/>
<resource name="RAM" quantum="100M" />
<config>
<fstab>
<inline name=".bash_profile">
cp /rw/config/* /config/
cp /rw/config/subinit/*.config /config/subinit/
cp /rw/config/deploy/* /config/deploy/
cp /rw/config/leitzentrale/config /config/leitzentrale/
cp /rw/config/runtime/*.config /config/runtime/
cp /rw/config/runtime/config /config/runtime/
</inline>
<tar name="bash-minimal.tar" />
<tar name="coreutils-minimal.tar" />
<dir name="dev"> <zero/> <null/> </dir>
<dir name="rw"> <fs label="target"/> </dir>
<dir name="config"> <fs label="config"/> </dir>
</fstab>
<start name="/bin/bash">
<env name="TERM" value="screen" />
<env name="PS1" value="fs:$PWD> " />
<env name="HOME" value="/" />
<arg value="--login"/>
</start>
</config>
<route>
<service name="File_system" label="target"> <child name="fs"/> </service>
<service name="File_system" label="config"> <parent label="config"/> </service>
<service name="Terminal"> <child name="terminal"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
</config>