summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-04-21 11:55:32 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-29 11:17:23 +0100
commit475786d0f324301307e923bca1e75ef9d0faa408 (patch)
tree172a55438364cd5146194b68150d621d42305762 /meta/recipes-devtools/rpm
parentfd9d421d0e14b63eaac3ae8e8a49ef580528adbb (diff)
downloadpoky-475786d0f324301307e923bca1e75ef9d0faa408.tar.gz
rpm: properly relocate additional native tools
These tools are not currently used for anything, but we should still provide working versions of them. [YOCTO #11400] (From OE-Core rev: da11fbde6f8164e2774068b99bab84e4b6084713) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.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_git.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_git.bb b/meta/recipes-devtools/rpm/rpm_git.bb
index 96f71d5bb5..f31932ef55 100644
--- a/meta/recipes-devtools/rpm/rpm_git.bb
+++ b/meta/recipes-devtools/rpm/rpm_git.bb
@@ -90,6 +90,36 @@ do_install_append_class-native() {
90 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \ 90 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
91 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ 91 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
92 RPM_NO_CHROOT_FOR_SCRIPTS=1 92 RPM_NO_CHROOT_FOR_SCRIPTS=1
93
94 create_wrapper ${D}/${bindir}/rpm2archive \
95 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
96 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
97 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
98 RPM_NO_CHROOT_FOR_SCRIPTS=1
99
100 create_wrapper ${D}/${bindir}/rpm2cpio \
101 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
102 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
103 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
104 RPM_NO_CHROOT_FOR_SCRIPTS=1
105
106 create_wrapper ${D}/${bindir}/rpmdb \
107 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
108 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
109 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
110 RPM_NO_CHROOT_FOR_SCRIPTS=1
111
112 create_wrapper ${D}/${bindir}/rpmgraph \
113 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
114 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
115 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
116 RPM_NO_CHROOT_FOR_SCRIPTS=1
117
118 create_wrapper ${D}/${bindir}/rpmspec \
119 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
120 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
121 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
122 RPM_NO_CHROOT_FOR_SCRIPTS=1
93} 123}
94 124
95 125