diff --git a/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-live/ostree-cmdline.sh b/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-live/ostree-cmdline.sh index c42f99db96..8d4d7914c8 100755 --- a/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-live/ostree-cmdline.sh +++ b/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-live/ostree-cmdline.sh @@ -11,7 +11,10 @@ set -euo pipefail case "${1:-unset}" in start) treepath="$(echo /sysroot/ostree/boot.1/*/*/0)" - echo "$(cat /proc/cmdline) ostree=${treepath#/sysroot}" > /tmp/cmdline + # ostree-prepare-root requires /etc and /var to be writeable for composeFS + # which cannot happen in the live ISO. Disable composeFS there + # https://github.com/coreos/fedora-coreos-config/pull/3009#issuecomment-2235923719 + echo "$(cat /proc/cmdline) ostree=${treepath#/sysroot} ostree.prepare-root.composefs=0" > /tmp/cmdline mount --bind /tmp/cmdline /proc/cmdline ;; stop)