* environment.d/rpm.sh sets the right environment in SDK
  and we don't need to use them

Signed-off-by: Martin Jansa <[email protected]>
---
 meta/recipes-devtools/rpm/rpm_4.18.0.bb | 8 --------
 1 file changed, 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() {
 }
 
 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
-- 
2.39.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175119): 
https://lists.openembedded.org/g/openembedded-core/message/175119
Mute This Topic: https://lists.openembedded.org/mt/95939252/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to