diff options
| author | leimaohui <leimaohui@fujitsu.com> | 2022-07-20 09:23:03 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-23 13:55:25 +0100 |
| commit | e4da038708d00fc2c0da24ef6bbc8d419a207f6b (patch) | |
| tree | 609942044d2577471e8ae687797f15d867f0523f /meta/recipes-core/systemd | |
| parent | 095787655d723d1997273c0fa7f7a2bf8b685244 (diff) | |
| download | poky-e4da038708d00fc2c0da24ef6bbc8d419a207f6b.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-core/systemd')
| -rw-r--r-- | meta/recipes-core/systemd/systemd_251.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
| 786 | PACKAGE_WRITE_DEPS += "qemu-native" | 786 | PACKAGE_WRITE_DEPS += "qemu-native" |
| 787 | pkg_postinst:udev-hwdb () { | 787 | pkg_postinst:udev-hwdb () { |
| 788 | if test -n "$D"; then | 788 | if test -n "$D"; then |
| 789 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" | 789 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} rootlibexecdir="${rootlibexecdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}" |
| 790 | else | 790 | else |
| 791 | udevadm hwdb --update | 791 | udevadm hwdb --update |
| 792 | fi | 792 | fi |
