[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 849ecbdd928742c75666fa1e199310796a425648
Andreas Beckmann
debian at abeckmann.de
Sun Nov 27 11:48:38 UTC 2011
The following commit has been merged in the develop branch:
commit fd976fe4c1482bb5b2993ed9e541076cb40fd690
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sun Nov 27 11:57:26 2011 +0100
fix mismerge
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/debian/changelog b/debian/changelog
index df8e1be..9e6d5c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,9 +10,6 @@ piuparts (0.42) UNRELEASED; urgency=low
* Remove Debian.NEWS entry about source in git. (Closes: #640121)
* piuparts.py, piuparts-report.py, ChangeLog: Expand tabs to spaces.
* Remove whitespaces from whitespace-only lines.
- * piuparts-slave.py: Replace deprecated os.popen2 with subprocess.Popen,
- thanks to Scott Schaefer and Evgeni Golov for their patches.
- (Closes: #640646)
[ Mika Pflüger ]
* piuparts-analyze.py:
diff --git a/piuparts.py b/piuparts.py
index ea89dcd..7a9a202 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -709,7 +709,7 @@ class Chroot:
self.pre_install_diversions = None
self.post_install_diversions = None
-
+
def create_temp_dir(self):
"""Create a temporary directory for the chroot."""
self.name = tempfile.mkdtemp(dir=settings.tmpdir)
@@ -1096,15 +1096,6 @@ class Chroot:
self.post_install_diversions = self.get_diversions()
- # remove logrotate and it's depends
- # (this is a fix for #602409 introduced by #566597
- # - search for the latter bug number in this file)
- # XXX: another crude hack: ^^^
- if not settings.skip_logrotatefiles_test:
- self.remove_or_purge("remove", ["adduser", "cron", "libpopt0", "logrotate"])
- self.remove_or_purge("purge", ["adduser", "cron", "libpopt0", "logrotate"])
- self.run(["apt-get", "clean"])
-
# Run custom scripts after purge all packages.
self.run_scripts("post_purge")
@@ -1937,10 +1928,11 @@ def install_purge_test(chroot, root_info, selections, package_files, packages):
file_owners = chroot.get_files_owned_by_packages()
# Remove all packages from the chroot that weren't there initially.
- changes = diff_selections(chroot, selections)
- chroot.restore_selections(changes, packages)
-
+ chroot.restore_selections(selections, packages)
+
chroot.check_for_broken_diversions()
+
+ chroot.check_for_no_processes()
chroot.check_for_broken_symlinks()
return check_results(chroot, root_info, file_owners, deps_info=deps_info)
@@ -2223,7 +2215,7 @@ def parse_command_line():
parser.add_option("-m", "--mirror", action="append", metavar="URL",
default=[],
help="Which Debian mirror to use.")
-
+
parser.add_option("--no-diversions", action="store_true",
default=False,
help="Don't check for broken diversions.")
--
piuparts git repository
More information about the Piuparts-commits
mailing list