This is the opposite workaround for https://github.com/ostreedev/ostree-rs-ext/issues/612 However, we still need to finally make `/opt` a directory to complete this, which currently wants changes in rpm-ostree. (Or, we could tweak our build process to inject as a container afterwards)
14 lines
264 B
YAML
14 lines
264 B
YAML
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
|
|
[composefs]
|
|
enabled = yes
|
|
[sysroot]
|
|
readonly = true
|
|
EOF
|