From ce33cdc15518d250e5be80a1a4856f94caed79f4 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 29 Jun 2023 17:04:30 +0200 Subject: [PATCH] elogind: update fix reproducibility/runtime issue in pam_elogind.so --- recipes-core/elogind/elogind_git.bb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/recipes-core/elogind/elogind_git.bb b/recipes-core/elogind/elogind_git.bb index c213994..a02aa98 100644 --- a/recipes-core/elogind/elogind_git.bb +++ b/recipes-core/elogind/elogind_git.bb @@ -9,7 +9,7 @@ SRC_URI = "git://github.com/elogind/elogind.git;protocol=https;nobranch=1" DEPENDS += " \ acl dbus \ - eudev \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'eudev', d)} \ gperf-native \ libcap \ libpam \ @@ -21,8 +21,8 @@ DEPENDS += " \ S = "${WORKDIR}/git" -PV = "249-pre" -SRCREV = "06e702c9dafa3ea1dd6df8ee8cb4dcf417a0d442" +PV = "252.9" +SRCREV = "17963fe8309e4782896335c3f8dc4a6c4b57d0b2" inherit meson pkgconfig @@ -33,5 +33,13 @@ do_install:prepend() { install -d ${D}${libdir}/elogind/system-sleep } -FILES:${PN} += "/usr" +FILES:${PN} += "${prefix}" +EXTRA_OEMESON:class-target += "--cross-file=${WORKDIR}/meson-${PN}.cross" + +do_write_config:append:class-target() { + cat >${WORKDIR}/meson-${PN}.cross <