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:
Colin Walters committed 2023-10-21 20:17:18 +00:00
commit 87ae66ada5
3 files changed
+16 -1

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
include:
- ostree.yaml
# The bootc components.
packages:
- systemd
- ostree nss-altfiles
# For now this will be shipped in rpm-ostree; TODO fix this by shipping a separate epackage
# - bootc
# Required by bootc install today, though we'll likely switch bootc to use a Rust crate instead of sgdisk
+12
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
../tier-0/ostree.yaml