diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-30 14:23:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
commit | 0ea63b6a439fe97f840c69d08cf381687baaae3f (patch) | |
tree | c632ba15d6b67617859f335fe9263930cbf1a0fa /meta/recipes-connectivity/ppp | |
parent | 3288587aeb009fb65652776242c0a526b90771e2 (diff) | |
download | poky-0ea63b6a439fe97f840c69d08cf381687baaae3f.tar.gz |
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.
(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp_2.5.0.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp_2.5.0.bb b/meta/recipes-connectivity/ppp/ppp_2.5.0.bb index 5f0c75de83..36e2585de4 100644 --- a/meta/recipes-connectivity/ppp/ppp_2.5.0.bb +++ b/meta/recipes-connectivity/ppp/ppp_2.5.0.bb | |||
@@ -35,20 +35,20 @@ do_install:append () { | |||
35 | mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d | 35 | mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d |
36 | mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/ | 36 | mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/ |
37 | mkdir -p ${D}${sysconfdir}/ppp/ip-down.d/ | 37 | mkdir -p ${D}${sysconfdir}/ppp/ip-down.d/ |
38 | install -m 0755 ${WORKDIR}/pon ${D}${bindir}/pon | 38 | install -m 0755 ${UNPACKDIR}/pon ${D}${bindir}/pon |
39 | install -m 0755 ${WORKDIR}/poff ${D}${bindir}/poff | 39 | install -m 0755 ${UNPACKDIR}/poff ${D}${bindir}/poff |
40 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ppp | 40 | install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/ppp |
41 | install -m 0755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/ | 41 | install -m 0755 ${UNPACKDIR}/ip-up ${D}${sysconfdir}/ppp/ |
42 | install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/ | 42 | install -m 0755 ${UNPACKDIR}/ip-down ${D}${sysconfdir}/ppp/ |
43 | install -m 0755 ${WORKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/ | 43 | install -m 0755 ${UNPACKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/ |
44 | install -m 0755 ${WORKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/ | 44 | install -m 0755 ${UNPACKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/ |
45 | mkdir -p ${D}${sysconfdir}/chatscripts | 45 | mkdir -p ${D}${sysconfdir}/chatscripts |
46 | mkdir -p ${D}${sysconfdir}/ppp/peers | 46 | mkdir -p ${D}${sysconfdir}/ppp/peers |
47 | install -m 0755 ${WORKDIR}/pap ${D}${sysconfdir}/chatscripts | 47 | install -m 0755 ${UNPACKDIR}/pap ${D}${sysconfdir}/chatscripts |
48 | install -m 0755 ${WORKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot | 48 | install -m 0755 ${UNPACKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot |
49 | install -m 0755 ${WORKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider | 49 | install -m 0755 ${UNPACKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider |
50 | install -d ${D}${systemd_system_unitdir} | 50 | install -d ${D}${systemd_system_unitdir} |
51 | install -m 0644 ${WORKDIR}/ppp@.service ${D}${systemd_system_unitdir} | 51 | install -m 0644 ${UNPACKDIR}/ppp@.service ${D}${systemd_system_unitdir} |
52 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 52 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
53 | ${D}${systemd_system_unitdir}/ppp@.service | 53 | ${D}${systemd_system_unitdir}/ppp@.service |
54 | } | 54 | } |