[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.42-50-g4ee7269
Andreas Beckmann
debian at abeckmann.de
Mon Mar 5 13:56:33 UTC 2012
The following commit has been merged in the develop branch:
commit abd8b49a5ef59a0ec47cf792fc238c96593deca1
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Mon Mar 5 06:53:46 2012 +0100
do not miss Pre-Depends in --warn-on-others mode
Add Pre-Depends from the target package to the Depends of the
meta-package created for --warn-on-others to ensure they are
installed, too, before recording file ownership of dependencies.
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/debian/changelog b/debian/changelog
index 0958724..7ad68e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ piuparts (0.44) UNRELEASED; urgency=low
* piuparts.py:
- Add to self.ignored_patterns: /var/lib/ucf/.*
- Increase output limit to 3 MB (for dist-upgrading daptup).
+ - Do not miss Pre-Depends in --warn-on-others mode.
* piuparts-report.py:
- Add link to the list of untestable logs.
- Add more known problem reports: forgotten alternatives, warnings in
diff --git a/piuparts.py b/piuparts.py
index 558dbb7..08e3609 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1950,6 +1950,8 @@ def install_purge_test(chroot, chroot_state, package_files, packages):
depends = []
conflicts = []
for control in control_infos:
+ if control.get("pre-depends"):
+ depends.append(control["pre-depends"])
if control.get("depends"):
depends.append(control["depends"])
if control.get("conflicts"):
--
piuparts git repository
More information about the Piuparts-commits
mailing list