[oe-commits] [openembedded-core] 03/17: debian.bbclass: add a note when a package is renamed

git at git.openembedded.org git at git.openembedded.org
Sat Jan 6 10:14:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Jan 5 13:06:22 2018 +0000

    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/debian.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 8124558..5cdbf36 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"
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list