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-21 11:41:39 +0000 |
commit | 2bfad0677861bd056e668a706d4cb6b6b65d88e1 (patch) | |
tree | f696bcbd25458f15c58eea8377e5640c96864ca0 | |
parent | c04d6ccd4a5d4e92606838368943799482364893 (diff) | |
download | poky-2bfad0677861bd056e668a706d4cb6b6b65d88e1.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: 2e0bbd8edcdcc892e593848e618a9a00f6dac05f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae9094d45bbfff377bd542939e12a8451a4959b6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 |