The `set -euo pipefail` shouldn't be controversial. The `set -x` bit is more debatable because it makes the output more verbose but I find it helpful right now as I comb through all sorts of details as part of https://github.com/coreos/fedora-coreos-tracker/issues/1861. If we care about less verbose output, I'd prefer we keep `-x` but switched to having rpm-ostree buffer postprocess output and only dump it if it fails.
15 lines
287 B
YAML
15 lines
287 B
YAML
packages:
|
|
- ostree nss-altfiles
|
|
|
|
postprocess:
|
|
# Set up default root config
|
|
- |
|
|
#!/usr/bin/env bash
|
|
set -xeuo pipefail
|
|
mkdir -p /usr/lib/ostree
|
|
cat > /usr/lib/ostree/prepare-root.conf << EOF
|
|
[composefs]
|
|
enabled = yes
|
|
[sysroot]
|
|
readonly = true
|
|
EOF
|