Skip to contentSkip to conversation

wpa-supplicant: Match package override to PACKAGES for pkg_postinst

PATCH New Richard Purdie 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb +1 -1
index 33b1495bb20..25cd8ef82ca 100644
@@ -108,7 +108,7 @@ do_install () {
 	install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
 }
 
-pkg_postinst:wpa-supplicant () {
+pkg_postinst:${PN} () {
 	# If we're offline, we don't need to do this.
 	if [ "x$D" = "x" ]; then
 		killall -q -HUP dbus-daemon || true
Signature · 1 line
2.32.0