From: Paul Eggleton Date: Tue, 2 Jul 2013 12:17:18 +0000 (+0100) Subject: rpm: add wrapper for debugedit executable X-Git-Tag: rev_ivi_2015_02_04~11926 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=176aee671cd882626dbb9143c097bb553a782def;p=scm%2Fbb%2Ftizen-distro.git rpm: add wrapper for debugedit executable This should fix sstate relocation issues with debugedit failing during do_package on the Yocto Project autobuilder. (From OE-Core rev: b7c2e01753e4a09388a3282e534bcbd163cd6ef7) Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold 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 0dd5806..3f4854e 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb @@ -472,7 +472,7 @@ do_install_append_class-native() { 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 - for rpm_binary in ${D}/${libdir}/rpm/bin/rpm*; do + for rpm_binary in ${D}/${libdir}/rpm/bin/rpm* ${D}/${libdir}/rpm/bin/debugedit; do 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} \