diff --git a/backport-feat-systemd-install-systemd-executor.patch b/backport-feat-systemd-install-systemd-executor.patch new file mode 100644 index 0000000000000000000000000000000000000000..31dc7d1f24f9e6a8697981b414b290b95abdee87 --- /dev/null +++ b/backport-feat-systemd-install-systemd-executor.patch @@ -0,0 +1,29 @@ +From bee1c4824a8cd47ce6c01892a548bdc07b1fa678 Mon Sep 17 00:00:00 2001 +From: Frantisek Sumsal +Date: Sat, 14 Oct 2023 23:45:57 +0200 +Subject: [PATCH] feat(systemd): install systemd-executor + +In [0] systemd gained a new binary - systemd-executor - that's used to +spawn processes forked off systemd. Let's copy it into the initrd if +it's available. + +[0] https://github.com/systemd/systemd/pull/27890 +--- + modules.d/00systemd/module-setup.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh +index 554c25a0..9a13a1db 100755 +--- a/modules.d/00systemd/module-setup.sh ++++ b/modules.d/00systemd/module-setup.sh +@@ -34,6 +34,7 @@ install() { + "$systemdutildir"/systemd \ + "$systemdutildir"/systemd-coredump \ + "$systemdutildir"/systemd-cgroups-agent \ ++ "$systemdutildir"/systemd-executor \ + "$systemdutildir"/systemd-shutdown \ + "$systemdutildir"/systemd-reply-password \ + "$systemdutildir"/systemd-fsck \ +-- +2.41.0 + diff --git a/dracut.spec b/dracut.spec index 97f22eed31e918e8cd2c4c3c1363d828254a72c9..41e02e1b5dfead5e843a63aa4ea9a8969c57b7b9 100644 --- a/dracut.spec +++ b/dracut.spec @@ -35,6 +35,8 @@ Patch8: backport-fix-multipath-remove-dependency-on-multipathd-socket.patch Patch9: backport-fix-dracut-install-protect-against-broken-links-poin.patch Patch10: backport-fix-dracut.sh-exit-if-resolving-executable-dependenc.patch Patch11: backport-fix-fs-lib-remove-quoting-form-the-first-argument-of.patch +# Unbreak systemd 255 +Patch12: backport-feat-systemd-install-systemd-executor.patch Source1: https://www.gnu.org/licenses/lgpl-2.1.txt Source2: openEuler.conf.example @@ -523,6 +525,9 @@ rm -f 51-dracut-rescue-postinst.sh %endif %changelog +* Mon Jan 22 2024 huyubiao - 059-5 +- Backport patches to fix compatibility with systemd 255 + * Mon Sep 25 2023 liweigang - 059-4 - backport update stream