debian.bbclass: add a note when a package is renamed
PATCH 1/1 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.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/debian.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/debian.bbclass +1 -1
@@ -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" -
Signature · 1 line
2.11.0