summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-05 13:06:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 10:13:39 +0000
commit2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2 (patch)
tree094813e7b78104f87aadab5e8c4d0ff1701d6798
parentb1ef094bc0bba54bd54b03c0a3c082d9b6025895 (diff)
downloadopenembedded-core-contrib-2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2.tar.gz
openembedded-core-contrib-2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2.tar.bz2
openembedded-core-contrib-2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2.zip
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 <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/debian.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 8124558b81..5cdbf360dc 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -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"
-