mirror of
https://git.yoctoproject.org/poky
synced 2026-04-09 20:02:21 +02:00
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 <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6c290e4a35
commit
209f92b68f
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user