diff options
author | Ryan Eatmon <reatmon@ti.com> | 2024-05-08 10:49:23 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-05-08 11:00:31 -0500 |
commit | ae9a1ab0f7306b19b269580e4e4368241efbc520 (patch) | |
tree | 1f93aeca0e89e312d7f9c5e50d44578695b2a3f0 /meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb | |
parent | 3043308f2ea90c7677c92a65f39745d336d51ba4 (diff) | |
download | meta-ti-ae9a1ab0f7306b19b269580e4e4368241efbc520.tar.gz |
recipes: Update S = WORKDIR recipes to use ${S} correctly
This is a corresponding patch to match one from Richard Purdie in
oe-core. [1]
Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly
to access files as soon we want to stop doing this in WORKDIR at which point
they would break unless corrected.
[1] https://git.openembedded.org/openembedded-core/commit/?id=f25dd633fffe6560f191526d1869e657e129bad9
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb')
-rw-r--r-- | meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb b/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb index 3ab00ec3..37a61ca4 100644 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb +++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb | |||
@@ -22,19 +22,19 @@ SRC_URI = "file://storage-gadget-init.service \ | |||
22 | 22 | ||
23 | do_install() { | 23 | do_install() { |
24 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants | 24 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants |
25 | install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system | 25 | install -m 0644 ${S}/*.service ${D}${base_libdir}/systemd/system |
26 | 26 | ||
27 | for i in ${WORKDIR}/storage-gadget-init.service ; do | 27 | for i in ${S}/storage-gadget-init.service ; do |
28 | install -m 0644 $i ${D}${base_libdir}/systemd/system | 28 | install -m 0644 $i ${D}${base_libdir}/systemd/system |
29 | ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/ | 29 | ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/ |
30 | done | 30 | done |
31 | 31 | ||
32 | install -d ${D}${sysconfdir}/udev/rules.d | 32 | install -d ${D}${sysconfdir}/udev/rules.d |
33 | install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d | 33 | install -m 0644 ${S}/*.rules ${D}${sysconfdir}/udev/rules.d |
34 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir} | 34 | install -m 0644 ${S}/*.conf ${D}${sysconfdir} |
35 | 35 | ||
36 | install -d ${D}${bindir} | 36 | install -d ${D}${bindir} |
37 | install -m 0755 ${WORKDIR}/*.sh ${D}${bindir} | 37 | install -m 0755 ${S}/*.sh ${D}${bindir} |
38 | } | 38 | } |
39 | 39 | ||
40 | PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd" | 40 | PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd" |