xbps-src: add consistency check

`xbps-src consistency-check` iterates over all templates and looks for
potentially broken dependencies.
This commit is contained in:
Enno Boland 2016-03-21 16:49:56 +01:00
parent ba1ef21f11
commit 096aac3603
2 changed files with 85 additions and 0 deletions

View file

@ -30,6 +30,9 @@ bootstrap-update
build <pkgname>
Build package source (fetch + extract + configure + build).
consistency-check
Runs a consistency check on all packages
chroot
Enter to the chroot in <masterdir>.
@ -677,6 +680,9 @@ case "$XBPS_TARGET" in
remove_pkg $XBPS_CROSS_BUILD
fi
;;
consistency-check)
consistency_check
;;
remove-autodeps)
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
chroot_handler remove-autodeps