!88 Backport patches to fix compatibility with systemd 255

From: @huyubiao 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
This commit is contained in:
openeuler-ci-bot 2024-01-30 01:34:11 +00:00 committed by Gitee
commit 0a79a12214
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From bee1c4824a8cd47ce6c01892a548bdc07b1fa678 Mon Sep 17 00:00:00 2001
From: Frantisek Sumsal <frantisek@sumsal.cz>
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

View File

@ -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 Patch9: backport-fix-dracut-install-protect-against-broken-links-poin.patch
Patch10: backport-fix-dracut.sh-exit-if-resolving-executable-dependenc.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 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 Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Source2: openEuler.conf.example Source2: openEuler.conf.example
@ -523,6 +525,9 @@ rm -f 51-dracut-rescue-postinst.sh
%endif %endif
%changelog %changelog
* Mon Jan 22 2024 huyubiao <huyubiao@huawei.com> - 059-5
- Backport patches to fix compatibility with systemd 255
* Mon Sep 25 2023 liweigang <liweiganga@uniontech.com> - 059-4 * Mon Sep 25 2023 liweigang <liweiganga@uniontech.com> - 059-4
- backport update stream - backport update stream