mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
debian.bbclass: add a note when a package is renamed
To make it easier to debug problems with renaming caused by debian.bbclass, explicitly log when packages are renamed. (From OE-Core rev: 2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
953f6d9a71
commit
ccdc770fcb
@@ -120,6 +120,7 @@ python debian_package_name_hook () {
|
||||
if not newpkg.find(mlpre) == 0:
|
||||
newpkg = mlpre + newpkg
|
||||
if newpkg != pkg:
|
||||
bb.note("debian: renaming %s to %s" % (pkg, newpkg))
|
||||
d.setVar('PKG_' + pkg, newpkg)
|
||||
add_rprovides(pkg, d)
|
||||
else:
|
||||
@@ -138,4 +139,3 @@ python debian_package_name_hook () {
|
||||
EXPORT_FUNCTIONS package_name_hook
|
||||
|
||||
DEBIAN_NAMES = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user