From e86a1f1f305d532833fe6f1b321cb22795bea7c6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 27 Oct 2008 19:00:27 +0000 Subject: 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. --- classes/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/package_ipk.bbclass') 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 -- cgit v1.2.3