summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/hostapd
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-13 14:16:55 -0700
committerKhem Raj <raj.khem@gmail.com>2024-05-23 08:44:44 -0700
commitffc64e9c6fee0af7eea3466135416d011172a5e6 (patch)
treeb9effa069d9af3c63d6f3a41caff6b887450522c /meta-oe/recipes-connectivity/hostapd
parenta90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff)
downloadmeta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/hostapd')
-rw-r--r--meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
index dbdc5c1bd..e547462bb 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
@@ -29,7 +29,7 @@ SYSTEMD_SERVICE:${PN} = "hostapd.service"
29SYSTEMD_AUTO_ENABLE:${PN} = "disable" 29SYSTEMD_AUTO_ENABLE:${PN} = "disable"
30 30
31do_configure:append() { 31do_configure:append() {
32 install -m 0644 ${WORKDIR}/defconfig ${B}/.config 32 install -m 0644 ${UNPACKDIR}/defconfig ${B}/.config
33} 33}
34 34
35do_compile() { 35do_compile() {
@@ -43,8 +43,8 @@ do_install() {
43 install -m 0644 ${B}/hostapd.conf ${D}${sysconfdir} 43 install -m 0644 ${B}/hostapd.conf ${D}${sysconfdir}
44 install -m 0755 ${B}/hostapd ${D}${sbindir} 44 install -m 0755 ${B}/hostapd ${D}${sbindir}
45 install -m 0755 ${B}/hostapd_cli ${D}${sbindir} 45 install -m 0755 ${B}/hostapd_cli ${D}${sbindir}
46 install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd 46 install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hostapd
47 install -m 0644 ${WORKDIR}/hostapd.service ${D}${systemd_unitdir}/system/ 47 install -m 0644 ${UNPACKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
48 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/hostapd.service 48 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/hostapd.service
49} 49}
50 50