From: Paul Eggleton Date: Tue, 2 Jul 2013 12:17:18 +0000 (+0100) Subject: rpm: add wrapper for debugedit executable X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36817 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c2e01753e4a09388a3282e534bcbd163cd6ef7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpm: add wrapper for debugedit executable This should fix sstate relocation issues with debugedit failing during do_package on the Yocto Project autobuilder. Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold --- diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 0dd5806026b..3f4854eb6ac 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} \