[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. f3d478e5f291baaf9e84d1982ca5e2e6b353a232

Andreas Beckmann debian at abeckmann.de
Sun Apr 1 08:47:49 UTC 2012


The following commit has been merged in the piatti.git branch:
commit 6d884cfc5a012054a87f0636a2867d242d2fed44
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Feb 20 14:02:08 2012 +0100

    extend lvm2/squeeze workaround
    
    * it is needed for the lenny2squeeze tests, too
    * there are more packages depending on lvm2
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/org/piuparts.debian.org/etc/scripts/pre_install_exceptions b/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
index a1d772a..771b62a 100755
--- a/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
+++ b/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
@@ -19,7 +19,7 @@ case $PIUPARTS_OBJECTS in
 	live-config-upstart)	log_debug
 				PIUPARTS_OBJECTS=upstart
 				;;
-	clvm|dtc-xen|ganeti2|mylvmbackup)
+	clvm|dtc-xen|ganeti2|mylvmbackup|redhat-cluster-suite)
 				log_debug
 				PIUPARTS_OBJECTS=lvm2
 				;;
@@ -50,7 +50,7 @@ case $PIUPARTS_OBJECTS in
 				yes 'Yes, do as I say!' | apt-get -y --force-yes install systemd-sysv
 				;;
 	lvm2)
-				if [ "$PIUPARTS_PHASE" = "install" ] && [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ]; then
+				if [ "$PIUPARTS_PHASE" = "install" ] && ( [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ] || [ "$PIUPARTS_DISTRIBUTION" = "lenny" ] ); then
 					# work around lvm2 bug http://bugs.debian.org/603036 which is squeeze-ignore
 					log_debug
 					apt-get -y install udev

-- 
piuparts git repository



More information about the Piuparts-commits mailing list