diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-05 13:06:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-06 22:32:22 +0000 |
commit | ccdc770fcbc619f08875fb110f6f41eecbff0e1b (patch) | |
tree | 117e66896ea9fa216e651834d7def0f2f7874043 /meta/classes/debian.bbclass | |
parent | 953f6d9a717945cc20228e7f75371adc27f4ffbe (diff) | |
download | poky-ccdc770fcbc619f08875fb110f6f41eecbff0e1b.tar.gz |
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>
Diffstat (limited to 'meta/classes/debian.bbclass')
-rw-r--r-- | meta/classes/debian.bbclass | 2 |
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 () { | |||
120 | if not newpkg.find(mlpre) == 0: | 120 | if not newpkg.find(mlpre) == 0: |
121 | newpkg = mlpre + newpkg | 121 | newpkg = mlpre + newpkg |
122 | if newpkg != pkg: | 122 | if newpkg != pkg: |
123 | bb.note("debian: renaming %s to %s" % (pkg, newpkg)) | ||
123 | d.setVar('PKG_' + pkg, newpkg) | 124 | d.setVar('PKG_' + pkg, newpkg) |
124 | add_rprovides(pkg, d) | 125 | add_rprovides(pkg, d) |
125 | else: | 126 | else: |
@@ -138,4 +139,3 @@ python debian_package_name_hook () { | |||
138 | EXPORT_FUNCTIONS package_name_hook | 139 | EXPORT_FUNCTIONS package_name_hook |
139 | 140 | ||
140 | DEBIAN_NAMES = "1" | 141 | DEBIAN_NAMES = "1" |
141 | |||