base.bbclass: create tmp/legacy-staging.log file with names of recipes which need...
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Tue, 2 Mar 2010 12:27:22 +0000 (13:27 +0100)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Tue, 2 Mar 2010 17:19:19 +0000 (18:19 +0100)
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
classes/base.bbclass

index 990e75e..358a9a2 100644 (file)
@@ -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)