summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-02 13:27:22 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-02 18:19:19 +0100
commitf2f02f6e4754f69b83de7613860fd580e27c0237 (patch)
tree9e7e49ea0e337385e72957fc802d3c006c469e85 /classes
parente329d5e021ecc3484660f6b8beab44a837913897 (diff)
base.bbclass: create tmp/legacy-staging.log file with names of recipes which need work
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 990e75ee14..358a9a2b68 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)