diff options
author | maximilian attems <maks@debian.org> | 2005-12-12 16:03:17 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-12-12 16:03:17 +0100 |
commit | 05982a63b2425a309325ba7a945a4bb11fd6146d (patch) | |
tree | 87f17df4b810248bafdfe2d6e6ca93e1d6ed5255 | |
parent | 1c8330542d7a5d35c10e02db4e210352517176b3 (diff) | |
download | initramfs-tools-05982a63b2425a309325ba7a945a4bb11fd6146d.tar.gz initramfs-tools-05982a63b2425a309325ba7a945a4bb11fd6146d.zip |
revert activate all vg,
may leed to data loss.
-rw-r--r-- | debian/changelog | 5 | ||||
-rwxr-xr-x | scripts/local-top/lvm | 7 |
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} |