control: install2 support
rootfs scripts should hit installer some day; the problem is with variables (dumping 'em wholesale looks dirty, and proxying those sort of defeats the approach) rather than with scripts. Until then, transform the data from the single variable into a file containing one facility per line for installer-1.8.31+ to consume.
This commit is contained in:
parent
37ce3f632c
commit
8ce8ce89cf
7
features.in/control/install2/image-scripts.d/51-control
Executable file
7
features.in/control/install2/image-scripts.d/51-control
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# setup control(8) states for the installed system
|
||||
# FIXME: drop this when rootfs scripts/data get installer support
|
||||
|
||||
[ -z "$GLOBAL_CONTROL" ] ||
|
||||
echo "$GLOBAL_CONTROL" |
|
||||
tr ' :' '\n ' > /usr/share/install2/control
|
Loading…
Reference in New Issue
Block a user