diff --git a/ignition-setup-user.sh b/ignition-setup-user.sh index fb147ca..db25c0c 100644 --- a/ignition-setup-user.sh +++ b/ignition-setup-user.sh @@ -11,6 +11,13 @@ copy_file_if_exists() { fi } +# systemd v256 now runs the initrd with ProtectSystem=yes, which makes /usr +# read-only. Just remount it rw until we have: +# https://github.com/coreos/ignition/issues/1891 +if [ ! -w /usr ]; then + mount -o rw,remount /usr +fi + destination=/usr/lib/ignition mkdir -p $destination diff --git a/ignition.changes b/ignition.changes index b1d59e3..60b8646 100644 --- a/ignition.changes +++ b/ignition.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 29 12:01:10 UTC 2024 - Ignaz Forster + +- Fix order of previous change - *first* remount rw, *then* create + directory. + +------------------------------------------------------------------- +Thu Jul 25 13:11:44 UTC 2024 - Ignaz Forster + +- Apply (temporary) upstream patch from fedora-coreos-config for + compatibility with systemd 256. + ------------------------------------------------------------------- Mon Jun 10 14:24:04 UTC 2024 - iforster@suse.com