summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
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-devtools
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-devtools')
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb12
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb2
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb6
-rw-r--r--meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb2
-rw-r--r--meta-oe/recipes-devtools/iptraf/iptraf-ng_1.2.1.bb2
-rw-r--r--meta-oe/recipes-devtools/php/php_8.2.18.bb10
6 files changed, 17 insertions, 17 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
index 3f9d49a2d2..430b53c4d0 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
@@ -14,17 +14,17 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
14 14
15do_install() { 15do_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
30FILES:${PN} += " \ 30FILES:${PN} += " \
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
index 34b1a9bdd2..f73be8dbbf 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
@@ -9,7 +9,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
9 9
10do_install() { 10do_install() {
11 install -d ${D}${bindir} 11 install -d ${D}${bindir}
12 install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir} 12 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
13} 13}
14 14
15python () { 15python () {
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index 1c66ea4997..6343256d39 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -88,7 +88,7 @@ TOOLS:class-native = "fastboot ext4_utils mkbootimg"
88TOOLS:class-nativesdk = "fastboot ext4_utils mkbootimg" 88TOOLS:class-nativesdk = "fastboot ext4_utils mkbootimg"
89 89
90do_compile() { 90do_compile() {
91 cp ${WORKDIR}/gitignore ${S}/.gitignore 91 cp ${UNPACKDIR}/gitignore ${S}/.gitignore
92 92
93 # Setting both variables below causing our makefiles to not work with 93 # Setting both variables below causing our makefiles to not work with
94 # implicit make rules 94 # implicit make rules
@@ -123,7 +123,7 @@ do_compile() {
123 123
124 for tool in ${TOOLS}; do 124 for tool in ${TOOLS}; do
125 mkdir -p ${B}/${tool} 125 mkdir -p ${B}/${tool}
126 oe_runmake -f ${B}/${tool}.mk -C ${B}/${tool} 126 oe_runmake -f ${UNPACKDIR}/${BPN}/${tool}.mk -C ${B}/${tool}
127 done 127 done
128} 128}
129 129
@@ -151,7 +151,7 @@ do_install() {
151 fi 151 fi
152 152
153 # Outside the if statement to avoid errors during do_package 153 # Outside the if statement to avoid errors during do_package
154 install -D -p -m0644 ${WORKDIR}/android-tools-adbd.service \ 154 install -D -p -m0644 ${UNPACKDIR}/android-tools-adbd.service \
155 ${D}${systemd_unitdir}/system/android-tools-adbd.service 155 ${D}${systemd_unitdir}/system/android-tools-adbd.service
156 156
157 if echo ${TOOLS} | grep -q "fastboot" ; then 157 if echo ${TOOLS} | grep -q "fastboot" ; then
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
index 479b98d44d..599675a345 100644
--- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
@@ -24,7 +24,7 @@ do_install:append() {
24 24
25do_install:append:class-target() { 25do_install:append:class-target() {
26 install -d ${D}${sysconfdir}/yum.repos.d 26 install -d ${D}${sysconfdir}/yum.repos.d
27 install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d 27 install -m 0644 ${UNPACKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
28} 28}
29 29
30do_install:append:class-nativesdk() { 30do_install:append:class-nativesdk() {
diff --git a/meta-oe/recipes-devtools/iptraf/iptraf-ng_1.2.1.bb b/meta-oe/recipes-devtools/iptraf/iptraf-ng_1.2.1.bb
index 0f6bbb4d54..f9e2c7873c 100644
--- a/meta-oe/recipes-devtools/iptraf/iptraf-ng_1.2.1.bb
+++ b/meta-oe/recipes-devtools/iptraf/iptraf-ng_1.2.1.bb
@@ -42,7 +42,7 @@ do_compile() {
42do_install() { 42do_install() {
43 oe_runmake DESTDIR=${D} install 43 oe_runmake DESTDIR=${D} install
44 install -D -m 0644 -p ${S}/iptraf-ng-logrotate.conf ${D}${sysconfdir}/logrotate.d/iptraf-ng 44 install -D -m 0644 -p ${S}/iptraf-ng-logrotate.conf ${D}${sysconfdir}/logrotate.d/iptraf-ng
45 install -Dm 0644 ${WORKDIR}/iptraf-ng-tmpfiles.conf ${D}${libdir}/tmpfiles.d/iptraf-ng-tmpfiles.conf 45 install -Dm 0644 ${UNPACKDIR}/iptraf-ng-tmpfiles.conf ${D}${libdir}/tmpfiles.d/iptraf-ng-tmpfiles.conf
46} 46}
47 47
48FILES:${PN} += "${libdir}/tmpfiles.d" 48FILES:${PN} += "${libdir}/tmpfiles.d"
diff --git a/meta-oe/recipes-devtools/php/php_8.2.18.bb b/meta-oe/recipes-devtools/php/php_8.2.18.bb
index da04ffba62..e662f6806e 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.18.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.18.bb
@@ -182,19 +182,19 @@ do_install:append:class-target() {
182 rm -rf ${D}/.[a-z]* 182 rm -rf ${D}/.[a-z]*
183 rm -rf ${D}/var 183 rm -rf ${D}/var
184 rm -f ${D}/${sysconfdir}/php-fpm.conf.default 184 rm -f ${D}/${sysconfdir}/php-fpm.conf.default
185 install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf 185 install -m 0644 ${UNPACKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
186 install -d ${D}/${sysconfdir}/apache2/conf.d 186 install -d ${D}/${sysconfdir}/apache2/conf.d
187 install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf 187 install -m 0644 ${UNPACKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
188 install -d ${D}${sysconfdir}/init.d 188 install -d ${D}${sysconfdir}/init.d
189 sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm 189 sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm
190 sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm 190 sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm
191 sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm 191 sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm
192 install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm 192 install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
193 install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf 193 install -m 0644 ${UNPACKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
194 194
195 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then 195 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
196 install -d ${D}${systemd_system_unitdir} 196 install -d ${D}${systemd_system_unitdir}
197 install -m 0644 ${WORKDIR}/php-fpm.service ${D}${systemd_system_unitdir}/php-fpm.service 197 install -m 0644 ${UNPACKDIR}/php-fpm.service ${D}${systemd_system_unitdir}/php-fpm.service
198 sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${systemd_system_unitdir}/php-fpm.service 198 sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${systemd_system_unitdir}/php-fpm.service
199 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/php-fpm.service 199 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/php-fpm.service
200 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/php-fpm.service 200 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/php-fpm.service
@@ -203,7 +203,7 @@ do_install:append:class-target() {
203 if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then 203 if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then
204 install -d ${D}${sysconfdir}/apache2/modules.d 204 install -d ${D}${sysconfdir}/apache2/modules.d
205 install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} 205 install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}
206 install -m 644 ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d 206 install -m 644 ${UNPACKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d
207 sed -i s,lib/,${libexecdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf 207 sed -i s,lib/,${libexecdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf
208 cat ${S}/php.ini-production | \ 208 cat ${S}/php.ini-production | \
209 sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \ 209 sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \