[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.48-55-gc89d173

Andreas Beckmann debian at abeckmann.de
Thu Dec 20 19:14:52 UTC 2012


The following commit has been merged in the develop branch:
commit bbb5505ed6318cc6cc81c2c985787b9a76b34068
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Dec 17 01:50:55 2012 +0100

    post_setup_squeeze-fake-essential: list packages requiring install-info
    
    there are only 4 packages in squeeze that need a fake-essential install-info
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/custom-scripts/scripts-squeeze/post_setup_squeeze-fake-essential b/custom-scripts/scripts-squeeze/post_setup_squeeze-fake-essential
index 4148124..1c025a0 100755
--- a/custom-scripts/scripts-squeeze/post_setup_squeeze-fake-essential
+++ b/custom-scripts/scripts-squeeze/post_setup_squeeze-fake-essential
@@ -7,9 +7,7 @@ set -e
 # so add these packages to the "fake" essential set.
 USED_DURING_PURGE="adduser ucf"
 
-# Work around http://bugs.debian.org/601961:
-#   "apt: wrongly thinks install-info is essential"
-FAILS_TO_REMOVE="install-info"
+FAILS_TO_REMOVE=
 
 
 case ${PIUPARTS_OBJECTS%%=*} in
@@ -21,6 +19,12 @@ case ${PIUPARTS_OBJECTS%%=*} in
 		# allow testing of the fake essential packages
 		exit 0
 		;;
+	konqueror|konq-plugins|mozart-doc|texlive-full)
+		# work around #601961: apt: wrongly thinks install-info is essential
+		if [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ]; then
+			FAILS_TO_REMOVE="install-info"
+		fi
+		;;
 esac
 
 echo "*** Adding fake essential packages ***"
diff --git a/debian/changelog b/debian/changelog
index 4e9917c..30033c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ piuparts (0.49) UNRELEASED; urgency=low
   * piuparts-report.py:
     - Fix URLs to piatti's config.
     - Hardlink the logfiles to the htdocs tree (with copy as fallback).
+  * post_setup_squeeze-fake-essential: Restrict fake-essential install-info to
+    the 4 packages that actually need this.
   * pre_remove_50_find_missing_copyright: Skip check for packages that are not
     installed or have only config files remaining.
   * post_remove_cleanup: Cleanup dovecot certificates.

-- 
piuparts git repository



More information about the Piuparts-commits mailing list