[Piuparts-commits] rev 810 - piatti/org/piuparts.debian.org/etc/scripts

Holger Levsen holger at alioth.debian.org
Thu Nov 25 17:59:20 UTC 2010


Author: holger
Date: 2010-11-25 17:59:16 +0000 (Thu, 25 Nov 2010)
New Revision: 810

Modified:
   piatti/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
Log:
set a root password unconditionally as there are packages depending on sudo (and sudo refuses removal if no root passwd is set)

Modified: piatti/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
===================================================================
--- piatti/org/piuparts.debian.org/etc/scripts/pre_install_exceptions	2010-11-25 00:30:18 UTC (rev 809)
+++ piatti/org/piuparts.debian.org/etc/scripts/pre_install_exceptions	2010-11-25 17:59:16 UTC (rev 810)
@@ -5,11 +5,13 @@
 }
 
 echo "Debug: running script $0"
+
+# sudo refuses removal if no root password is set, so set one
+# do this unconditionally, as there are packages depending on sudo 
+# (and since its harmless and fast)
+yes "yes" | passwd 
+
 case $PIUPARTS_OBJECTS in 
-	sudo) 			log_debug	
-				# sudo refuses removal if no root password is set	
-				yes "yes" | passwd 
-				;;
 	fai-nfsroot)		log_debug
 				# fai-nfsroot refuses installation unless this file exist
 				touch /.THIS_IS_THE_FAI_NFSROOT




More information about the Piuparts-commits mailing list