diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-12-29 17:21:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-31 17:06:19 +0000 |
commit | 34f1121ba9684b1ab978438db2b16c1e42ea5973 (patch) | |
tree | 4797a54a021d0aba5fa5cd30373daa25c10f3017 /meta/recipes-devtools/rpm | |
parent | f40a2658f5be6739c5dddab7f9f11e1f85a17102 (diff) | |
download | openembedded-core-contrib-34f1121ba9684b1ab978438db2b16c1e42ea5973.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
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.bb | 8 |
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() { } 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 |