[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-723-gbe9cff5

Andreas Beckmann debian at abeckmann.de
Sun Jun 17 17:40:48 UTC 2012


The following commit has been merged in the develop branch:
commit 974cdec45b68ead2092123bd25817d14ad54b0f6
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Jun 17 17:15:22 2012 +0200

    scripts-squeeze: make adduser and ucf fake-essential
    
    The following issues won't be fixed in squeeze:
      - unconditional use of deluser during postrm purge
      - unconditional use of ucf during postrm purge
    so add these packages to the "fake" essential set.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/org/piuparts.debian.org/etc/scripts-squeeze/post_setup_squeeze-fake-essential b/org/piuparts.debian.org/etc/scripts-squeeze/post_setup_squeeze-fake-essential
new file mode 100755
index 0000000..cb8f7d8
--- /dev/null
+++ b/org/piuparts.debian.org/etc/scripts-squeeze/post_setup_squeeze-fake-essential
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -e
+
+# The following issues won't be fixed in squeeze:
+#   - unconditional use of deluser during postrm purge
+#   - unconditional use of ucf during postrm purge
+# so add these packages to the "fake" essential set.
+USED_DURING_PURGE="adduser ucf"
+
+
+case ${PIUPARTS_OBJECTS%%=*} in
+	dpkg)
+		# don't install fake essential packages while creating the tarball
+		exit 0
+		;;
+	adduser|ucf)
+		# allow testing of the fake essential packages
+		exit 0
+		;;
+esac
+
+echo "*** Adding fake essential packages ***"
+apt-get install -yf $USED_DURING_PURGE

-- 
piuparts git repository



More information about the Piuparts-commits mailing list