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 <[email protected]>
---
meta/recipes-core/systemd/systemd_251.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_251.2.bb
b/meta/recipes-core/systemd/systemd_251.2.bb
index bb3c59f418..2d0d21a69a 100644
--- a/meta/recipes-core/systemd/systemd_251.2.bb
+++ b/meta/recipes-core/systemd/systemd_251.2.bb
@@ -786,7 +786,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 (#168290):
https://lists.openembedded.org/g/openembedded-core/message/168290
Mute This Topic: https://lists.openembedded.org/mt/92496522/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-