summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-01-18 16:22:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:37:35 +0000
commit18357688e9aed4832a86dd4ff9400550dab01888 (patch)
treec9f9ba70837ab8b2c7eb3b436e0780bf3023d5bb /meta/classes/sstate.bbclass
parentd4c721ac06add78151fcea23a757b526cca22408 (diff)
downloadpoky-18357688e9aed4832a86dd4ff9400550dab01888.tar.gz
sstate: replace verbose manifest removal with a single count
If there are lots of changes between the previous build and the build about to start bitbake will potentially print pages of: DEBUG: Stamp $BUILD/stamps/corei7-64-poky-linux/libdrm/2.4.66-r0 is not reachable, removing related manifests Instead of spamming the console with this list, write the list of manifests only to the debug log and simply write a count to the console. This way the user doesn't get spammed but still knows what is happening if bitbake appears to stall with heavy I/O. (From OE-Core rev: e777b541c76dad293d1c214e46c00f8f78fe0539) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 804629199f..40b51fe4fe 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -956,8 +956,12 @@ python sstate_eventhandler2() {
956 if stamp not in stamps: 956 if stamp not in stamps:
957 toremove.append(l) 957 toremove.append(l)
958 if stamp not in seen: 958 if stamp not in seen:
959 bb.note("Stamp %s is not reachable, removing related manifests" % stamp) 959 bb.debug(2, "Stamp %s is not reachable, removing related manifests" % stamp)
960 seen.append(stamp) 960 seen.append(stamp)
961
962 if toremove:
963 bb.note("There are %d recipes to be removed from the sysroot, removing..." % (len(toremove)))
964
961 for r in toremove: 965 for r in toremove:
962 (stamp, manifest, workdir) = r.split() 966 (stamp, manifest, workdir) = r.split()
963 for m in glob.glob(manifest + ".*"): 967 for m in glob.glob(manifest + ".*"):