mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
systemd: Added base_bindir into pkg_postinst:udev-hwdb.
Otherwise in sdk environment, the base_bindir is empty and the path of UDEVADM="${base_bindir}/udevadm" is not correct.
(From OE-Core rev: 235b6fccd2a9ce4eb9bfb3be8ac271cff0ea5fea)
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>
This commit is contained in:
committed by
Richard Purdie
parent
095787655d
commit
e4da038708
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user