diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-13 14:16:55 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
| commit | ffc64e9c6fee0af7eea3466135416d011172a5e6 (patch) | |
| tree | b9effa069d9af3c63d6f3a41caff6b887450522c /meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools | |
| parent | a90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff) | |
| download | meta-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/dynamic-layers/selinux/recipes-devtool/android-tools')
3 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb index 1c26c7207b..35b3a5c08b 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb | |||
| @@ -14,17 +14,17 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 14 | 14 | ||
| 15 | do_install() { | 15 | do_install() { |
| 16 | install -d ${D}${bindir} | 16 | install -d ${D}${bindir} |
| 17 | install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir} | 17 | install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} |
| 18 | install -m 0755 ${WORKDIR}/android-gadget-start ${D}${bindir} | 18 | install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir} |
| 19 | install -m 0755 ${WORKDIR}/android-gadget-cleanup ${D}${bindir} | 19 | install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir} |
| 20 | 20 | ||
| 21 | if [ -r ${WORKDIR}/android-gadget-setup.machine ] ; then | 21 | if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then |
| 22 | install -d ${D}${sysconfdir} | 22 | install -d ${D}${sysconfdir} |
| 23 | install -m 0644 ${WORKDIR}/android-gadget-setup.machine ${D}${sysconfdir} | 23 | install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir} |
| 24 | fi | 24 | fi |
| 25 | 25 | ||
| 26 | install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d | 26 | install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d |
| 27 | install -m 0644 ${WORKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d | 27 | install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | FILES:${PN} += " \ | 30 | FILES:${PN} += " \ |
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb index b63ccbb080..cb2ff672e3 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb | |||
| @@ -7,7 +7,7 @@ SRC_URI = "file://android-gadget-setup" | |||
| 7 | 7 | ||
| 8 | do_install() { | 8 | do_install() { |
| 9 | install -d ${D}${bindir} | 9 | install -d ${D}${bindir} |
| 10 | install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir} | 10 | install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | python () { | 13 | python () { |
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb index fbad5e1368..f63b5c04b3 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb | |||
| @@ -153,7 +153,7 @@ do_install() { | |||
| 153 | fi | 153 | fi |
| 154 | 154 | ||
| 155 | # Outside the if statement to avoid errors during do_package | 155 | # Outside the if statement to avoid errors during do_package |
| 156 | install -D -p -m0644 ${WORKDIR}/android-tools-adbd.service \ | 156 | install -D -p -m0644 ${UNPACKDIR}/android-tools-adbd.service \ |
| 157 | ${D}${systemd_unitdir}/system/android-tools-adbd.service | 157 | ${D}${systemd_unitdir}/system/android-tools-adbd.service |
| 158 | 158 | ||
| 159 | install -d ${D}${libdir}/android/ | 159 | install -d ${D}${libdir}/android/ |
