mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
package.bbclass: fix locations of debugedit and rpmdeps utilities
rpm4 installs them in different locations than rpm5. This also replaces our custom rpmdeps-oecore with standard rpmdeps; I'm not seeing a significant performance penalty. (From OE-Core rev: ec20cda53caeebfdf95e2871d5da8b926e84d2aa) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b1f09df0f6
commit
a1180e91d0
@@ -345,7 +345,7 @@ def splitdebuginfo(file, debugfile, debugsrcdir, sourcefile, d):
|
|||||||
|
|
||||||
dvar = d.getVar('PKGD')
|
dvar = d.getVar('PKGD')
|
||||||
objcopy = d.getVar("OBJCOPY")
|
objcopy = d.getVar("OBJCOPY")
|
||||||
debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit")
|
debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/debugedit")
|
||||||
|
|
||||||
# We ignore kernel modules, we don't generate debug info files.
|
# We ignore kernel modules, we don't generate debug info files.
|
||||||
if file.find("/lib/modules/") != -1 and file.endswith(".ko"):
|
if file.find("/lib/modules/") != -1 and file.endswith(".ko"):
|
||||||
@@ -1436,7 +1436,7 @@ if [ x"$D" = "x" ]; then
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps-oecore --macros ${STAGING_LIBDIR_NATIVE}/rpm/macros --define '_rpmfc_magic_path ${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc' --rpmpopt ${STAGING_LIBDIR_NATIVE}/rpm/rpmpopt"
|
RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/rpmdeps --macros ${STAGING_LIBDIR_NATIVE}/rpm/macros --define '_rpmfc_magic_path ${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc' --rpmpopt ${STAGING_LIBDIR_NATIVE}/rpm/rpmpopt"
|
||||||
|
|
||||||
# Collect perfile run-time dependency metadata
|
# Collect perfile run-time dependency metadata
|
||||||
# Output:
|
# Output:
|
||||||
|
|||||||
Reference in New Issue
Block a user