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_ipk.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_ipk.bbclass')
-rw-r--r-- | classes/package_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass index e0636eef70..29ee32788f 100644 --- a/classes/package_ipk.bbclass +++ b/classes/package_ipk.bbclass @@ -178,7 +178,7 @@ python do_package_ipk () { 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 |