diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-04-12 14:03:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | 254e75728b6ca36279ea8c9091d65f30a8d284cc (patch) | |
tree | a163bb619567233c6b90c3176a7915b251c3ba1b /meta/recipes-connectivity/wpa-supplicant | |
parent | 876430f8accee5ade150d5a001bc9684e87d597d (diff) | |
download | poky-254e75728b6ca36279ea8c9091d65f30a8d284cc.tar.gz |
wpa-supplicant: Avoid changing directory in do_install
Changing directory leads to anyone coming later needing to be explicit
in their directory usage as the working directory is no longer ${B}.
(From OE-Core rev: 36555aa783ffe5420c6da96dfece12931afaefa6)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb index da8f0843dc..6c378d532d 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | |||
@@ -73,8 +73,7 @@ do_install () { | |||
73 | install -d ${D}${sysconfdir}/network/if-post-down.d/ | 73 | install -d ${D}${sysconfdir}/network/if-post-down.d/ |
74 | install -d ${D}${sysconfdir}/network/if-down.d/ | 74 | install -d ${D}${sysconfdir}/network/if-down.d/ |
75 | install -m 755 ${WORKDIR}/wpa-supplicant.sh ${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant | 75 | install -m 755 ${WORKDIR}/wpa-supplicant.sh ${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant |
76 | cd ${D}${sysconfdir}/network/ && \ | 76 | ln -sf ../if-pre-up.d/wpa-supplicant ${D}${sysconfdir}/network/if-post-down.d/wpa-supplicant |
77 | ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant | ||
78 | 77 | ||
79 | install -d ${D}/${sysconfdir}/dbus-1/system.d | 78 | install -d ${D}/${sysconfdir}/dbus-1/system.d |
80 | install -m 644 ${S}/wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d | 79 | install -m 644 ${S}/wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d |