summaryrefslogtreecommitdiff
path: root/classes/packagehistory.bbclass
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-11-18 09:15:55 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-11-18 09:15:55 +0000
commit15387c72d5cf1a77a5a0afa6750dae73a8dbc12f (patch)
treeab55e077002322c8f245c79c87c6a6f2f7b0ed2e /classes/packagehistory.bbclass
parent7f3d2b172af63fc894f80eece075434b2c5fbbc5 (diff)
parente4e52ba358c094952ec868d32524a26dfa4bae89 (diff)
Merge branch 'org.openembedded.dev' of git+ssh://git@git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'classes/packagehistory.bbclass')
-rw-r--r--classes/packagehistory.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/packagehistory.bbclass b/classes/packagehistory.bbclass
index b435149d22..492bbac218 100644
--- a/classes/packagehistory.bbclass
+++ b/classes/packagehistory.bbclass
@@ -4,6 +4,7 @@ PACKAGEFUNCS += "emit_pkghistory"
PKGHIST_DIR = "${TMPDIR}/pkghistory/${BASEPKG_TARGET_SYS}/"
+
#
# Called during do_package to write out metadata about this package
# for comparision when writing future packages
@@ -60,8 +61,6 @@ python emit_pkghistory() {
def check_pkghistory(pkg, pe, pv, pr, lastversion):
- import bb
-
(last_pe, last_pv, last_pr) = lastversion
bb.debug(2, "Checking package history")
@@ -71,7 +70,6 @@ def check_pkghistory(pkg, pe, pv, pr, lastversion):
def write_pkghistory(pkg, pe, pv, pr, d):
- import bb, os
bb.debug(2, "Writing package history")
pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True)
@@ -81,8 +79,6 @@ def write_pkghistory(pkg, pe, pv, pr, d):
os.makedirs(verpath)
def write_latestlink(pkg, pe, pv, pr, d):
- import bb, os
-
pkghistdir = bb.data.getVar('PKGHIST_DIR', d, True)
def rm_link(path):