summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-01-16 14:34:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-09 11:04:16 +0000
commit0671c08f1311f0dedacdeeef3341414fb636c917 (patch)
tree85b62c4808a001c0a22e6eaea0ce18a51518ac5c /meta
parent10aff7de08a59c03bcd7e49699570078b37c184b (diff)
downloadpoky-0671c08f1311f0dedacdeeef3341414fb636c917.tar.gz
wpa-supplicant-2.0: don't exit in pkg_postinst
Exiting explicitly in pkg_postinst makes it impossible to use the update-rc.d class in a .bbappend because the link creation is appended to the pkg_postinst script. (From OE-Core master rev: 758d53d3044f29f3c33ffee3ada88c9edc9f864f) (From OE-Core rev: 7d7481667fcf4550513aec1eca20d87b4ddfd40e) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
index ce669a1ffa..ba28c6bd45 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
@@ -82,9 +82,8 @@ do_install () {
82 82
83pkg_postinst_wpa-supplicant () { 83pkg_postinst_wpa-supplicant () {
84 # If we're offline, we don't need to do this. 84 # If we're offline, we don't need to do this.
85 if [ "x$D" != "x" ]; then 85 if [ "x$D" = "x" ]; then
86 exit 0 86 killall -q -HUP dbus-daemon || true
87 fi 87 fi
88 88
89 killall -q -HUP dbus-daemon || true
90} 89}