[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core][kirkstone 23/29] systemd: Added base_bindir into pkg_postinst:udev-hwdb.
From:       "Steve Sakoman" <steve () sakoman ! com>
Date:       2022-07-29 14:46:39
Message-ID: abff988d33dd6ac03eedb34c1f48c83b4502ee1b.1659105705.git.steve () sakoman ! com
[Download RAW message or body]

Content-Transfer-Encoding: 8bit

From: leimaohui <leimaohui@fujitsu.com>

Otherwise in sdk environment, the base_bindir is empty and the path of \
UDEVADM="${base_bindir}/udevadm" is not correct.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 235b6fccd2a9ce4eb9bfb3be8ac271cff0ea5fea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-core/systemd/systemd_250.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_250.5.bb \
b/meta/recipes-core/systemd/systemd_250.5.bb index 006b2f86ea..9923312830 100644
--- a/meta/recipes-core/systemd/systemd_250.5.bb
+++ b/meta/recipes-core/systemd/systemd_250.5.bb
@@ -779,7 +779,7 @@ pkg_prerm:${PN}:libc-glibc () {
 PACKAGE_WRITE_DEPS += "qemu-native"
 pkg_postinst:udev-hwdb () {
 	if test -n "$D"; then
-		$INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} \
binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" \
PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" \
+		$INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} \
binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" \
PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}"  \
else  udevadm hwdb --update
 	fi
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#168658): https://lists.openembedded.org/g/openembedded-core/message/168658
Mute This Topic: https://lists.openembedded.org/mt/92692315/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic