[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.47-17-ga7f2df4
Andreas Beckmann
debian at abeckmann.de
Sat Nov 3 00:08:28 UTC 2012
The following commit has been merged in the develop branch:
commit f753a45fdabeee6a60e1e57a4d3aa756bc04096f
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Fri Nov 2 21:12:18 2012 +0100
p: add some more checks for --install-purge-install
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/debian/changelog b/debian/changelog
index 96bdccb..c570c10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ piuparts (0.48) UNRELEASED; urgency=low
- Report paths of installed files that contain symlinks (for better
debugging of the problems caused by such a setup).
( test $(dirname $x) != $(readlink -f $(dirname $x)) )
+ - Add debsums, processes, and broken-symlinks check after the first purge
+ in --install-purge-install mode.
* piuparts-master.py:
- Enable recycling before initializing the real package db.
* piuparts-slave.py:
diff --git a/piuparts.py b/piuparts.py
index bff77bf..8152ca0 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -2144,6 +2144,9 @@ def install_purge_test(chroot, chroot_state, package_files, packages):
file_owners = chroot.get_files_owned_by_packages()
chroot.restore_selections(chroot_state_with_deps["selections"], packages)
logging.info("Validating chroot after purge")
+ chroot.check_debsums()
+ chroot.check_for_no_processes()
+ chroot.check_for_broken_symlinks()
if not check_results(chroot, chroot_state_with_deps, file_owners, deps_info=deps_info):
return False
logging.info("Reinstalling after purge")
--
piuparts git repository
More information about the Piuparts-commits
mailing list