Enable readonly sysroot via config file

This is the more proper way to do it.
This commit is contained in:
Colin Walters committed 2023-10-21 16:03:18 -04:00
1 parent 2b5646ee05
commit 2ea1dcabc2
3 files changed
+16 -1

No files matched your search

+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