diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 17:12:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 22:26:46 +0000 |
commit | 668584ca71eec3dc1e0a99e0ddf634fc83370e6a (patch) | |
tree | d919011a9465635c436115d76ab0831f35623752 /meta/recipes-connectivity | |
parent | 711d173d6e0559cb988596095ab45d22a9257dec (diff) | |
download | poky-668584ca71eec3dc1e0a99e0ddf634fc83370e6a.tar.gz |
wpa-supplicant: Match package override to PACKAGES for pkg_postinst
In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable
override to match that else it causes user confusion.
[YOCTO #14616]
(From OE-Core rev: ae9094d45bbfff377bd542939e12a8451a4959b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb index 33b1495bb2..25cd8ef82c 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | |||
@@ -108,7 +108,7 @@ do_install () { | |||
108 | install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles | 108 | install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles |
109 | } | 109 | } |
110 | 110 | ||
111 | pkg_postinst:wpa-supplicant () { | 111 | pkg_postinst:${PN} () { |
112 | # If we're offline, we don't need to do this. | 112 | # If we're offline, we don't need to do this. |
113 | if [ "x$D" = "x" ]; then | 113 | if [ "x$D" = "x" ]; then |
114 | killall -q -HUP dbus-daemon || true | 114 | killall -q -HUP dbus-daemon || true |