summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rwxr-xr-xscripts/local-top/lvm7
2 files changed, 7 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 1a61807..8b14a93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-initramfs-tools (0.43) unstable; urgency=high
+initramfs-tools (0.44) unstable; urgency=high
"O partigiano portami via"
@@ -6,9 +6,6 @@ initramfs-tools (0.43) unstable; urgency=high
* initramfs.conf: Fix wording choice for resume option. (Closes: #337575)
- * local-top/lvm: Activate all lvm groups for future support of
- lvm-crypt roots. (Closes: #339087)
-
* hooks/kernelextras: Really fix #335505.
Don't expand wildcase to current dir. (Closes: #342153)
diff --git a/scripts/local-top/lvm b/scripts/local-top/lvm
index 9f608af..7ac81e6 100755
--- a/scripts/local-top/lvm
+++ b/scripts/local-top/lvm
@@ -28,5 +28,10 @@ esac
modprobe -q dm-mod
-vgchange -ay
+# Split volume group from logical volume.
+vg=$(echo ${vg} | sed -e 's#\(.*\)\([^-]\)-[^-].*#\1\2#')
+# Reduce padded --'s to -'s
+vg=$(echo ${vg} | sed -e 's#--#-#g')
+
+vgchange -ay ${vg}