diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-27 19:00:27 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-27 19:28:26 +0000 |
commit | e86a1f1f305d532833fe6f1b321cb22795bea7c6 (patch) | |
tree | c746ea579d0722ab294ed6dc78f3dbd9d93997fe /classes/package_deb.bbclass | |
parent | 6f97a5881773a20ded15041b36c511881c9bc579 (diff) |
classes/package*.bbclass: Remove the build_package_revision function
Based on experience, this function is going to cause massive code readability
issues. We can actually clean up the code more without it so do this instead.
Diffstat (limited to 'classes/package_deb.bbclass')
-rw-r--r-- | classes/package_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass index 64d8d4ed5d..6d4abaf5d0 100644 --- a/classes/package_deb.bbclass +++ b/classes/package_deb.bbclass @@ -131,7 +131,7 @@ python do_package_deb () { pass if not g and bb.data.getVar('ALLOW_EMPTY', localdata) != "1": from bb import note - note("Not creating empty archive for %s-%s-%s" % (pkg, bb.data.getVar('PV', localdata, 1), build_package_revision(localdata))) + note("Not creating empty archive for %s-%s" % (pkg, bb.data.expand('${PV}-${PR}${DISTRO_PR}', localdata, True))) bb.utils.unlockfile(lf) continue |