From: Richard Purdie Date: Wed, 30 Jan 2013 14:46:00 +0000 (+0000) Subject: rpm: Ensure native binaries are correctly wrapped X-Git-Tag: rev_ivi_2015_02_04~14005 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3293ed1cdfd366607455696753f3a5b4fd7c9525;p=scm%2Fbb%2Ftizen-distro.git rpm: Ensure native binaries are correctly wrapped (From OE-Core rev: 1cdeff2c50a13c7238543ee1e4e1eb60753120e2) Signed-off-by: Richard Purdie --- 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