Patchwork [1/3] rpm: add wrapper for debugedit executable

login
register
mail settings
Submitter Paul Eggleton
Date July 2, 2013, 2:02 p.m.
Message ID <ac3c6143780642c07988b39208f3a4cb1d30319c.1372773662.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/52803/
State Accepted
Commit b7c2e01753e4a09388a3282e534bcbd163cd6ef7
Headers show

Comments

Paul Eggleton - July 2, 2013, 2:02 p.m.
This should fix sstate relocation issues with debugedit failing during
do_package on the Yocto Project autobuilder.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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} \