2011-12-22 15:19:25 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2019-02-19 13:24:52 +00:00
|
|
|
import_from_depot [depot_user]/src/[base_src] \
|
|
|
|
[depot_user]/pkg/[drivers_interactive_pkg] \
|
|
|
|
[depot_user]/pkg/terminal \
|
|
|
|
[depot_user]/src/init \
|
|
|
|
[depot_user]/src/libc \
|
|
|
|
[depot_user]/src/noux \
|
|
|
|
[depot_user]/src/posix \
|
|
|
|
[depot_user]/src/ncurses \
|
|
|
|
[depot_user]/src/vim
|
2017-09-06 17:15:36 +00:00
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config verbose="yes">
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
</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>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="drivers" caps="1000">
|
2017-11-07 10:28:50 +00:00
|
|
|
<resource name="RAM" quantum="32M" constrain_phys="yes"/>
|
2017-09-06 17:15:36 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
2011-12-22 15:19:25 +00:00
|
|
|
<provides>
|
2017-09-06 17:15:36 +00:00
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
2011-12-22 15:19:25 +00:00
|
|
|
</provides>
|
2017-09-06 17:15:36 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="terminal">
|
|
|
|
<resource name="RAM" quantum="2M"/>
|
|
|
|
<provides><service name="Terminal"/></provides>
|
2018-04-11 12:14:20 +00:00
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="terminal.config"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
2017-09-06 17:15:36 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="noux" caps="1000">
|
|
|
|
<resource name="RAM" quantum="1G"/>
|
|
|
|
<config>
|
|
|
|
<fstab> <tar name="vim.tar" /> </fstab>
|
|
|
|
<start name="/bin/vim">
|
2018-04-03 14:46:04 +00:00
|
|
|
<env name="TERM" value="screen" />
|
2017-09-06 17:15:36 +00:00
|
|
|
|
|
|
|
<!-- Deactivate the loading of plugins. Otherwise, vim will
|
|
|
|
attempt to use a sub shell for pattern matching -->
|
|
|
|
<arg value="--noplugin" />
|
|
|
|
|
|
|
|
<!-- Do not use swap file. Any attempt to create of would
|
|
|
|
fail because we are on a read-only file system -->
|
|
|
|
<arg value="-n" />
|
|
|
|
|
|
|
|
<!-- Use the nocompatible mode, which is much nicer than
|
|
|
|
the plain vi mode -->
|
|
|
|
<arg value="-N" />
|
|
|
|
|
|
|
|
<!-- Permanently display status bar -->
|
|
|
|
<arg value="--cmd" />
|
|
|
|
<arg value="set laststatus=2" />
|
|
|
|
|
|
|
|
<!-- Enable highlighted search results -->
|
|
|
|
<arg value="--cmd" />
|
|
|
|
<arg value="set hls" />
|
|
|
|
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
|
|
|
build_boot_image { }
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|