summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rwxr-xr-xhooks/lvm2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b4cbb08..3ccc474 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+initramfs-tools (0.54) unstable; urgency=low
+
+ * hooks/lvm: lvm10 has also an vgchange - exit if no lvm2 libs.
+ (closes: #354708)
+
+ -- maximilian attems <maks@sternwelten.at> Tue, 28 Feb 2006 17:34:14 +0100
+
initramfs-tools (0.53) unstable; urgency=high
* update-initramfs: set_current_version needs to check against
diff --git a/hooks/lvm b/hooks/lvm
index 63316e5..e29215e 100755
--- a/hooks/lvm
+++ b/hooks/lvm
@@ -14,7 +14,7 @@ prereqs)
;;
esac
-if [ ! -x /sbin/vgchange ]; then
+if [ ! -x /sbin/vgchange -a ! -d /lib/lvm-200 ]; then
exit 0
fi