From 0ecbee4bbdddc5fa4cf380275b7007c0efbd6e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Wed, 2 Oct 2024 12:18:37 +0200 Subject: [PATCH] [sys-kernel/dracut] sync with tree --- ...cut-103-r3.ebuild => dracut-103-r4.ebuild} | 2 ++ ...dracut-103-always-install-libsystemd.patch | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+) rename sys-kernel/dracut/{dracut-103-r3.ebuild => dracut-103-r4.ebuild} (98%) create mode 100644 sys-kernel/dracut/files/dracut-103-always-install-libsystemd.patch diff --git a/sys-kernel/dracut/dracut-103-r3.ebuild b/sys-kernel/dracut/dracut-103-r4.ebuild similarity index 98% rename from sys-kernel/dracut/dracut-103-r3.ebuild rename to sys-kernel/dracut/dracut-103-r4.ebuild index 32e6d4b..33c26ad 100644 --- a/sys-kernel/dracut/dracut-103-r3.ebuild +++ b/sys-kernel/dracut/dracut-103-r4.ebuild @@ -72,6 +72,8 @@ PATCHES=( "${FILESDIR}"/${PN}-103-acct-user-group-gentoo.patch # https://github.com/dracut-ng/dracut-ng/pull/507 "${FILESDIR}"/${PN}-103-systemd-udev-256-kmod.patch + # libsystemd-core is sometimes missing + "${FILESDIR}"/${PN}-103-always-install-libsystemd.patch ) src_configure() { diff --git a/sys-kernel/dracut/files/dracut-103-always-install-libsystemd.patch b/sys-kernel/dracut/files/dracut-103-always-install-libsystemd.patch new file mode 100644 index 0000000..f2533e1 --- /dev/null +++ b/sys-kernel/dracut/files/dracut-103-always-install-libsystemd.patch @@ -0,0 +1,21 @@ +From 921792f201e954de461d3b551e01b5369d666db8 Mon Sep 17 00:00:00 2001 +From: Antonio Alvarez Feijoo +Date: Tue, 10 Sep 2024 15:51:46 +0200 +Subject: [PATCH] feat(systemd): always install libsystemd libraries + +--- + modules.d/00systemd/module-setup.sh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh +index 498cd7edd..fb8a8200b 100755 +--- a/modules.d/00systemd/module-setup.sh ++++ b/modules.d/00systemd/module-setup.sh +@@ -156,5 +156,6 @@ EOF + _arch=${DRACUT_ARCH:-$(uname -m)} + inst_libdir_file \ + {"tls/$_arch/",tls/,"$_arch/",}"libgcrypt.so*" \ +- {"tls/$_arch/",tls/,"$_arch/",}"libnss_*" ++ {"tls/$_arch/",tls/,"$_arch/",}"libnss_*" \ ++ {"tls/$_arch/",tls/,"$_arch/",}"systemd/libsystemd*.so" + }