summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2022-12-29 17:21:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-31 17:08:29 +0000
commit08152ea9ea3c8b6cea2c6f680c2382b31eb001dc (patch)
tree05115581047225a57936e62bf4c9f1d654d85f99 /meta/recipes-devtools/rpm
parent0174379afce8fe2e291a41a75bc6f4aa6304b695 (diff)
downloadpoky-08152ea9ea3c8b6cea2c6f680c2382b31eb001dc.tar.gz
nativesdk-rpm: don't create wrappers for WRAPPER_TOOLS
* environment.d/rpm.sh sets the right environment in SDK and we don't need to use them (From OE-Core rev: 34f1121ba9684b1ab978438db2b16c1e42ea5973) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.18.0.bb8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.18.0.bb b/meta/recipes-devtools/rpm/rpm_4.18.0.bb
index 152cab490d..8eb0ab207e 100644
--- a/meta/recipes-devtools/rpm/rpm_4.18.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.18.0.bb
@@ -117,14 +117,6 @@ do_install:append:class-native() {
117} 117}
118 118
119do_install:append:class-nativesdk() { 119do_install:append:class-nativesdk() {
120 for tool in ${WRAPPER_TOOLS}; do
121 test -x ${D}$tool && create_wrapper ${D}$tool \
122 RPM_CONFIGDIR='$'{RPM_CONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('libdir'), d.getVar('bindir'))}/rpm} \
123 RPM_ETCCONFIGDIR='$'{RPM_ETCCONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('sysconfdir'), d.getVar('bindir'))}/..} \
124 MAGIC=''{MAGIC-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))}/misc/magic.mgc} \
125 RPM_NO_CHROOT_FOR_SCRIPTS=1
126 done
127
128 rm -rf ${D}/var 120 rm -rf ${D}/var
129 121
130 mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d 122 mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d