aboutsummaryrefslogtreecommitdiffstats
path: root/2008-10-18bb files: Revert the introduction of FILE_PRHolger Hans Peter Freyther 2008-10-15[PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PRHolger Hans Peter Freyther 2008-10-15mtn2git: remove .mtn2git_empty files in non-empty directoriesJan Luebbe 2008-02-07libao_0.8.8.bb : specifically ask for mmap from alsa plugin instead ofGraeme Gregory 2008-02-07libao_0.8.8.bb : add new version and rather than spurious alsa pluginsGraeme Gregory 2008-01-25divers: add debug package for 85 files with hardcoded PACKAGES definition. P...Rolf Leggewie 2006-11-13libao(-plugin)-alsa: removed RDEPENDency on libao2Marcin Juszkiewicz 2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi 2006-02-08merge of 56993761cfcc246959dccb5e35fa402c5c3c9738Rod Whitby 2006-02-07libao-plugin-alsa_0.8.6.bb: Rename from libao-alsa_0.8.6 and fix do_stageMatthias Goebl 2006-02-05libao-alsa_0.8.6: Add libao plugin-package with alsa supportMatthias Goebl 2006-01-05libao: revert deletion of do_stage() applied in 3db52ecf315fce5662f670b01ec61...Rene Wagner 2006-01-03disapproval of revision 'fbc22e245906dac5ce180f67a0c621f7a2db1a28'John Bowler 2006-01-03autotooled packages: remove redundant do_stagePhilipp Zabel 2006-01-03libao: change do_stage to use autotools_stage_all in 0.8.6John Bowler 2005-08-26libao: Fix SRC_URIJustin Patrin 2005-08-24Update libao to latest versionOyvind Repvik 2005-07-09LICENSE = GPL -> LICENSE = "GPL"Holger Freyther 2005-06-30import clean BK tree at cset 1.3670Koen Kooi 2005-02-22Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net 2004-12-30Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net 2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson
">pathname)) r.size += r.records[-1].size r.records.sort(reverse=True) else: r.size = os.lstat(path).st_size return r create = staticmethod(create) def __init__(self, path): self.path = path self.size = 0 self.records = [] def __lt__(this, that): if that is None: return False if not isinstance(that, Record): raise TypeError if len(this.records) > 0 and len(that.records) == 0: return False if this.size > that.size: return False return True def show(self, minsize): total = 0 if self.size <= minsize: return 0 print("%10d %s" % (self.size, self.path)) for r in self.records: total += r.show(minsize) if len(self.records) == 0: total = self.size return total def main(): minsize = 0 if len(sys.argv) == 2: minsize = int(sys.argv[1]) rootfs = Record.create(".") total = rootfs.show(minsize) print("Displayed %d/%d bytes (%.2f%%)" % \ (total, rootfs.size, 100 * float(total) / rootfs.size)) if __name__ == "__main__": main()