[oe-commits] Marcin Juszkiewicz : base.bbclass: create tmp/legacy-staging. log file with names of recipes which need work
git version control
git at git.openembedded.org
Thu Mar 4 10:36:43 UTC 2010
Module: openembedded.git
Branch: shr/testing2010
Commit: f2f02f6e4754f69b83de7613860fd580e27c0237
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f2f02f6e4754f69b83de7613860fd580e27c0237
Author: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Date: Tue Mar 2 13:27:22 2010 +0100
base.bbclass: create tmp/legacy-staging.log file with names of recipes which need work
Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
---
classes/base.bbclass | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 990e75e..358a9a2 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -1155,6 +1155,14 @@ python do_populate_staging () {
if legacy:
bb.data.setVar("SYSROOT_DESTDIR", "", d)
bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True))
+
+ try:
+ file = open("%s/legacy-staging.log" % bb.data.getVar("TMPDIR", d, 1), "a")
+ file.write("%s\n" % bb.data.getVar("FILE", d, True))
+ file.close()
+ except:
+ pass
+
if bb.data.getVarFlags('do_stage', d) is None:
bb.fatal("This recipe (%s) has a do_stage_prepend or do_stage_append and do_stage now doesn't exist. Please rename this to do_stage()" % bb.data.getVar("FILE", d, True))
lock = bb.utils.lockfile(lockfile)
More information about the Openembedded-commits
mailing list