summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-10-27 19:00:27 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-10-27 19:28:26 +0000
commite86a1f1f305d532833fe6f1b321cb22795bea7c6 (patch)
treec746ea579d0722ab294ed6dc78f3dbd9d93997fe /classes/package.bbclass
parent6f97a5881773a20ded15041b36c511881c9bc579 (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.bbclass')
-rw-r--r--classes/package.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 1dc26fdc54..4dfd5f0444 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -4,13 +4,6 @@
PKGDEST = "${WORKDIR}/install"
-def build_package_revision(d):
- import bb
- file_pr = bb.data.getVar('PR', d, True)
- distro_pr = bb.data.getVar('DISTRO_PR', d, True) or ""
- return "%s%s" % (file_pr, distro_pr)
-
-
def legitimize_package_name(s):
"""
Make sure package names are legitimate strings