sculpt: use vfs for config file system

By using the VFS server, we become able to populate the config-fs
content from a tar archive, which will be needed for Sculpt VC.

Issue #2902
This commit is contained in:
Norman Feske 2018-07-04 14:07:42 +02:00 committed by Christian Helmuth
parent 59ac5b10c7
commit 9061217d80
2 changed files with 33 additions and 29 deletions

View File

@ -24,6 +24,7 @@ _/src/bash-minimal
_/src/vim-minimal _/src/vim-minimal
_/src/coreutils-minimal _/src/coreutils-minimal
_/src/vfs _/src/vfs
_/src/vfs_import
_/src/vfs_lxip _/src/vfs_lxip
_/src/rump _/src/rump
_/src/ipxe_nic_drv _/src/ipxe_nic_drv

View File

@ -81,28 +81,30 @@ install_config {
</start> </start>
<start name="config_fs" caps="200"> <start name="config_fs" caps="200">
<binary name="ram_fs"/> <binary name="vfs"/>
<resource name="RAM" quantum="10M"/> <resource name="RAM" quantum="12M"/>
<provides> <service name="File_system"/> </provides> <provides> <service name="File_system"/> </provides>
<config> <config>
<content> <vfs>
<ram/>
<import>
<dir name="managed"> <dir name="managed">
<rom name="fonts.config" as="fonts"/> <rom name="fonts" label="fonts.config"/>
<rom name="fb_drv.config" as="fb_drv"/> <rom name="fb_drv" label="fb_drv.config"/>
<rom name="wlan.config" as="wlan"/> <rom name="wlan" label="wlan.config"/>
<rom name="installation"/> <rom name="installation"/>
<rom name="empty_runtime.config" as="runtime"/> <rom name="runtime" label="empty_runtime.config"/>
<rom name="input_filter.config" as="input_filter"/> <rom name="input_filter" label="input_filter.config"/>
<inline name="depot_query"><query/></inline> <inline name="depot_query"><query/></inline>
</dir> </dir>
<rom name="input_filter.config" as="input_filter"/> <rom name="input_filter" label="input_filter.config"/>
<rom name="fb_drv.config" as="fb_drv"/> <rom name="fb_drv" label="fb_drv.config"/>
<rom name="nitpicker.config" as="nitpicker"/> <rom name="nitpicker" label="nitpicker.config"/>
<rom name="numlock_remap.config" as="numlock_remap"/> <rom name="numlock_remap" label="numlock_remap.config"/>
<rom name="leitzentrale.config" as="leitzentrale"/> <rom name="leitzentrale" label="leitzentrale.config"/>
<rom name="drivers.config" as="drivers"/> <rom name="drivers" label="drivers.config"/>
<rom name="manual_deploy.config" as="deploy"/> <rom name="deploy" label="manual_deploy.config"/>
<rom name="usb.config" as="usb"/> <rom name="usb" label="usb.config"/>
<rom name="en_us.chargen"/> <rom name="en_us.chargen"/>
<rom name="de.chargen"/> <rom name="de.chargen"/>
<rom name="de_ch.chargen"/> <rom name="de_ch.chargen"/>
@ -110,7 +112,8 @@ install_config {
<rom name="vimrc"/> <rom name="vimrc"/>
<inline name="system">} [config_system_content] { <inline name="system">} [config_system_content] {
</inline> </inline>
</content> </import>
</vfs>
<policy label="config_fs_rom -> " root="/" /> <policy label="config_fs_rom -> " root="/" />
<policy label="rw" root="/" writeable="yes" /> <policy label="rw" root="/" writeable="yes" />
</config> </config>