pmbootstrap/pmb/chroot
Oliver Smith 0f5056f6b9
Fix pmbootstrap zap -m / various zap improvements (#1166)
zap -m:
* APKINDEX parsing: parse the "origin" field as well, so we know
  where a subpackage comes from
* pmbootstrap zap -m: properly delete all packages, that do not
  have an aport or where the aport has another version. This also
  works with subpackages now,
  we use the origin field to resolve it.
* Only reindex when packages have been deleted in "zap -m"

zap in general:
* Show the amount of cleared up space after the deletion instead
  of "Done"
* Print "Shutdown complete" to "pmbootstrap log" instead of stdout
  (we need to call it twice during zap now to get the space
  calculation right)
* Add `--dry` argument to `pmbootstrap zap` (this was very useful
  for debugging) to list the packages/chroots that would get
  deleted
* Roughly output the command that would get executed to delete
  files, so it's obvious what's going on in --dry mode. (% rm ...)
2018-01-31 19:34:02 +00:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
apk.py Improved pmbootstrap init (#1095) 2018-01-23 00:54:48 +00:00
apk_static.py Fix error message suggesting to run invalid command "zap -a" (#1132) 2018-01-23 01:03:31 +00:00
binfmt.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
distccd.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
init.py Improved pmbootstrap init (#1095) 2018-01-23 00:54:48 +00:00
initfs.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
initfs_hooks.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
mount.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
other.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
root.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
shutdown.py Fix pmbootstrap zap -m / various zap improvements (#1166) 2018-01-31 19:34:02 +00:00
user.py Always use the BusyBox implementation of 'su' in the chroots (#1085) 2018-01-06 14:01:46 +00:00
zap.py Fix pmbootstrap zap -m / various zap improvements (#1166) 2018-01-31 19:34:02 +00:00