forked from Mirror/pmbootstrap
apk.installed(): Retuns all packages and versions now
pmb.chroot.apk.installed() used to return only the explicitly installed packages. This is not good enough for the initfs check functions (and especially for the "lazy reproducible builds", from which branch this commit was cherry picked). This commit introduces more noise for the logfile - if this becomes a problem, raise your voice in the issues tracker and we'll do something about it. (This commit also changes minor code styling in other files, I did not run autopep8 last time, because flake8 didn't complain...)
This commit is contained in:
parent
4b903b7232
commit
32ad868cdc
5 changed files with 62 additions and 13 deletions
|
@ -79,10 +79,10 @@ def main():
|
|||
pmb.build.ccache_stats(args, args.arch)
|
||||
elif args.action == "log":
|
||||
pmb.helpers.run.user(args, ["tail", "-f", args.log,
|
||||
"-n", args.lines], log=False)
|
||||
"-n", args.lines], log=False)
|
||||
elif args.action == "log_distccd":
|
||||
pmb.chroot.user(args, ["tail", "-f", "/home/user/distccd.log",
|
||||
"-n", args.lines], log=False)
|
||||
"-n", args.lines], log=False)
|
||||
elif args.action == "zap":
|
||||
pmb.chroot.zap(args)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue