summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-30 14:46:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-30 14:47:30 +0000
commit9a26b9c69c47c87ce71a06f76682c187767e7897 (patch)
tree59555e31c11867222b7da18f1e6a56f8e072fdac /meta/recipes-devtools/rpm
parentdf70804654cfbb3ce98db1b4e54c7ffc739cb79f (diff)
downloadast2050-yocto-poky-9a26b9c69c47c87ce71a06f76682c187767e7897.zip
ast2050-yocto-poky-9a26b9c69c47c87ce71a06f76682c187767e7897.tar.gz
rpm: Ensure native binaries are correctly wrapped
(From OE-Core rev: 1cdeff2c50a13c7238543ee1e4e1eb60753120e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.9.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 6977131..881b960 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -470,7 +470,7 @@ do_install_append_class-native() {
RPM_LOCALEDIRRPM='`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir', True), d.getVar('bindir', True))}/locale
for rpm_binary in ${D}/${libdir}/rpm/bin/rpm*; do
- create_wrapper $rpm_binary
+ create_wrapper $rpm_binary \
RPM_USRLIBRPM='`dirname $''realpath`'/${@os.path.relpath(d.getVar('libdir', True), d.getVar('bindir', True))}/rpm \
RPM_ETCRPM='$'{RPM_ETCRPM-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('sysconfdir', True), d.getVar('bindir', True))}/rpm} \
RPM_LOCALEDIRRPM='`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir', True), d.getVar('bindir', True))}/locale
OpenPOWER on IntegriCloud