Merge branch 'configure-prepare-root' into 'main'
Enable readonly sysroot via config file See merge request CentOS/cloud/sagano!39
This commit is contained in:
commit
87ae66ada5
|
|
@ -1,7 +1,9 @@
|
||||||
|
include:
|
||||||
|
- ostree.yaml
|
||||||
|
|
||||||
# The bootc components.
|
# The bootc components.
|
||||||
packages:
|
packages:
|
||||||
- systemd
|
- systemd
|
||||||
- ostree nss-altfiles
|
|
||||||
# For now this will be shipped in rpm-ostree; TODO fix this by shipping a separate epackage
|
# For now this will be shipped in rpm-ostree; TODO fix this by shipping a separate epackage
|
||||||
# - bootc
|
# - bootc
|
||||||
# Required by bootc install today, though we'll likely switch bootc to use a Rust crate instead of sgdisk
|
# Required by bootc install today, though we'll likely switch bootc to use a Rust crate instead of sgdisk
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
packages:
|
||||||
|
- ostree nss-altfiles
|
||||||
|
|
||||||
|
postprocess:
|
||||||
|
# Set up default root config
|
||||||
|
- |
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
mkdir -p /usr/lib/ostree
|
||||||
|
cat > /usr/lib/ostree/prepare-root.conf << EOF
|
||||||
|
[sysroot]
|
||||||
|
readonly = true
|
||||||
|
EOF
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../tier-0/ostree.yaml
|
||||||
Loading…
Reference in New Issue