# Here we override some key settings from bootc minimal-plus.postprocess:# Make `/opt and `/usr/local` symlinks.# This is the historical default and what FCOS currently ships. fedora-bootc# uses the new `root` value, but migrating FCOS is not that simple...# https://coreos.github.io/rpm-ostree/treefile/#experimental-options- |#!/usr/bin/env bashset -xeuo pipefailif [ -f /run/.containerenv ]; thenrm -vrf /opt;ln -vs var/opt /optrm -vrf /usr/localln -vs ../var/usrlocal /usr/localfi# Required by Ignition, and makes the system not compatible with Anaconda.# Note this deviates from fedora-bootc and means `systemctl enable` doesn't# work in a container build. We'll have to resolve that issue some other way in# the future... For more details, see# https://github.com/CentOS/centos-bootc/issues/167# https://coreos.github.io/rpm-ostree/treefile/#experimental-options- |#!/usr/bin/env bashset -xeuo pipefailrm -vf /etc/machine-id