]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
nativesdk-rpm: don't create wrappers for WRAPPER_TOOLS
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 29 Dec 2022 16:21:32 +0000 (17:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Dec 2022 17:06:19 +0000 (17:06 +0000)
* environment.d/rpm.sh sets the right environment in SDK
  and we don't need to use them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.18.0.bb

index 152cab490d1bf341aaf7f1b29f7f207c2da6040c..8eb0ab207e394dfda63ce47c9aeaf3275b60a0fa 100644 (file)
@@ -117,14 +117,6 @@ do_install:append:class-native() {
 }
 
 do_install:append:class-nativesdk() {
-        for tool in ${WRAPPER_TOOLS}; do
-                test -x ${D}$tool && create_wrapper ${D}$tool \
-                        RPM_CONFIGDIR='$'{RPM_CONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('libdir'), d.getVar('bindir'))}/rpm} \
-                        RPM_ETCCONFIGDIR='$'{RPM_ETCCONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('sysconfdir'), d.getVar('bindir'))}/..} \
-                        MAGIC=''{MAGIC-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))}/misc/magic.mgc} \
-                        RPM_NO_CHROOT_FOR_SCRIPTS=1
-        done
-
         rm -rf ${D}/var
 
        mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d