[oe-commits] Richard Purdie : sanity.bbclass: Fix to work with old versions of bitbake for now
git version control
git at git.openembedded.org
Thu May 6 09:09:05 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 779458cafbf9488f446e3537ce425f7f37551adc
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=779458cafbf9488f446e3537ce425f7f37551adc
Author: Richard Purdie <rpurdie at linux.intel.com>
Date: Thu May 6 10:08:55 2010 +0100
sanity.bbclass: Fix to work with old versions of bitbake for now
Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>
---
classes/sanity.bbclass | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 0a1e868..dfb3010 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -142,7 +142,8 @@ def check_sanity(e):
f = file(abifile, "w")
f.write(current_abi)
elif abi == "3" and current_abi == "4":
- bb.note("Converting staging from layout version 2 to layout version 3")
+ import bb
+ bb.note("Converting staging from layout version 2 to layout version 3")
os.system(bb.data.expand("mv ${TMPDIR}/staging ${TMPDIR}/sysroots", e.data))
os.system(bb.data.expand("ln -s sysroots ${TMPDIR}/staging", e.data))
os.system(bb.data.expand("cd ${TMPDIR}/stamps; for i in */*do_populate_staging; do new=`echo $i | sed -e 's/do_populate_staging/do_populate_sysroot/'`; mv $i $new; done", e.data))
More information about the Openembedded-commits
mailing list