[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, piatti, updated. 0.43-15-g9510d05
Andreas Beckmann
debian at abeckmann.de
Tue Jan 31 07:59:57 UTC 2012
The following commit has been merged in the piatti branch:
commit 1f46be5d69aded94927ecbb9b9f97f0ae3f20c27
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Tue Jan 24 00:48:02 2012 +0100
add exception for lvm2/squeeze
lvm2 has a insserv dependency on udev, but no package dependency.
#603036 which is squeeze-ignore
Install udev first so that installing lvm2 succeeds.
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 33c80bd..b669d0e 100755
--- a/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
+++ b/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
@@ -19,6 +19,10 @@ case $PIUPARTS_OBJECTS in
live-config-upstart) log_debug
PIUPARTS_OBJECTS=upstart
;;
+ clvm|dtc-xen|ganeti2|mylvmbackup)
+ log_debug
+ PIUPARTS_OBJECTS=lvm2
+ ;;
esac
#
@@ -45,6 +49,13 @@ case $PIUPARTS_OBJECTS in
# force installation and removal of essential package sysvinit
yes 'Yes, do as I say!' | apt-get -y --force-yes install systemd-sysv
;;
+ lvm2)
+ if [ "$PIUPARTS_PHASE" = "install" ] && [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ]; then
+ # work around lvm2 bug http://bugs.debian.org/603036 which is squeeze-ignore
+ log_debug
+ apt-get -y install udev
+ fi
+ ;;
esac
exit 0
--
piatti.debian.org configuration files
More information about the Piuparts-commits
mailing list