mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 22:50:54 +00:00
parent
6c6b19b198
commit
46241da795
@ -11,3 +11,4 @@ _/pkg/themed_wm
|
|||||||
_/pkg/sticks_blue_backdrop
|
_/pkg/sticks_blue_backdrop
|
||||||
_/pkg/nano3d
|
_/pkg/nano3d
|
||||||
_/pkg/fonts_fs
|
_/pkg/fonts_fs
|
||||||
|
_/pkg/report_dump
|
||||||
|
@ -691,6 +691,17 @@ append manual_deploy_config {
|
|||||||
</start>
|
</start>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<start name="report_dump" pkg="} [depot_user]/pkg/[current_pkg report_dump] {">
|
||||||
|
<route>
|
||||||
|
<service name="File_system" label="report">
|
||||||
|
<parent label="report"/> </service>
|
||||||
|
<service name="File_system" label="target">
|
||||||
|
<child name="default_fs_rw"/> </service>
|
||||||
|
</route>
|
||||||
|
</start>
|
||||||
|
-->
|
||||||
|
|
||||||
</config>}
|
</config>}
|
||||||
|
|
||||||
set fd [open [run_dir]/genode/manual_deploy.config w]
|
set fd [open [run_dir]/genode/manual_deploy.config w]
|
||||||
|
2
repos/ports/recipes/pkg/report_dump/README
Normal file
2
repos/ports/recipes/pkg/report_dump/README
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
A subsystem that periodically copies Sculpt's report file system to the
|
||||||
|
default file system.
|
7
repos/ports/recipes/pkg/report_dump/archives
Normal file
7
repos/ports/recipes/pkg/report_dump/archives
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
_/src/noux
|
||||||
|
_/src/bash-minimal
|
||||||
|
_/src/coreutils
|
||||||
|
_/src/libc
|
||||||
|
_/src/posix
|
||||||
|
_/src/init
|
||||||
|
_/src/vfs
|
1
repos/ports/recipes/pkg/report_dump/hash
Normal file
1
repos/ports/recipes/pkg/report_dump/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2018-06-18 d22c8cc52bec27c129a4b7844f93d4149f4a93db
|
45
repos/ports/recipes/pkg/report_dump/runtime
Normal file
45
repos/ports/recipes/pkg/report_dump/runtime
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
<runtime ram="50M" caps="1000" binary="noux">
|
||||||
|
|
||||||
|
<requires>
|
||||||
|
<timer/>
|
||||||
|
<file_system label="report" writeable="no"/>
|
||||||
|
<file_system label="target" writeable="yes"/>
|
||||||
|
</requires>
|
||||||
|
|
||||||
|
<config stdin="/dev/null" stdout="/dev/log" stderr="/dev/log">
|
||||||
|
<fstab>
|
||||||
|
<tar name="bash-minimal.tar" />
|
||||||
|
<tar name="coreutils.tar" />
|
||||||
|
<dir name="dev"> <zero/> <null/> <log/> </dir>
|
||||||
|
<dir name="rw"> <fs label="target"/> </dir>
|
||||||
|
<dir name="report"> <fs label="report"/> </dir>
|
||||||
|
<dir name="tmp"> <ram /> </dir>
|
||||||
|
<inline name=".bash_profile">
|
||||||
|
while true; do
|
||||||
|
export VERSION=`printf "%(%T)T"`
|
||||||
|
mkdir "/rw/$VERSION"
|
||||||
|
cp -r /report/* "/rw/$VERSION/"
|
||||||
|
sleep 10
|
||||||
|
done
|
||||||
|
</inline>
|
||||||
|
</fstab>
|
||||||
|
<start name="/bin/bash">
|
||||||
|
<arg value="--login" />
|
||||||
|
<env name="HOME" value="/" />
|
||||||
|
<env name="TERM" value="screen" />
|
||||||
|
</start>
|
||||||
|
</config>
|
||||||
|
|
||||||
|
<content>
|
||||||
|
<rom label="ld.lib.so"/>
|
||||||
|
<rom label="libc.lib.so"/>
|
||||||
|
<rom label="libm.lib.so"/>
|
||||||
|
<rom label="noux"/>
|
||||||
|
<rom label="libc_noux.lib.so"/>
|
||||||
|
<rom label="posix.lib.so"/>
|
||||||
|
<rom label="bash-minimal.tar"/>
|
||||||
|
<rom label="coreutils.tar"/>
|
||||||
|
<rom label="vfs.lib.so"/>
|
||||||
|
</content>
|
||||||
|
|
||||||
|
</runtime>
|
Loading…
x
Reference in New Issue
Block a user