diff options
author | maximilian attems <maks@debian.org> | 2006-06-27 12:02:38 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-06-27 12:02:38 +0200 |
commit | c7ad939852fedfe308a643805df3d7e3a6549755 (patch) | |
tree | 7e72f2d319878272fbdd9c74b8ebddb85152755d | |
parent | 6fc7a6092aa2fdd3006d99941ac774b5e4e0577c (diff) |
fix lvm root
load mirror and snapshot
-rw-r--r-- | debian/changelog | 9 | ||||
-rwxr-xr-x | scripts/local-top/lvm | 9 |
2 files changed, 15 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index ad677f3..c39e1b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +initramfs-tools (0.65b) unstable; urgency=low + + * scripts/local-top/lvm: Load snapshot and mirror modules. (Closes: #375342) + + * scripts/local-top/lvm: Fix a wrong substitution for the lilo test. + (Closes: #375442) + + -- maximilian attems <maks@sternwelten.at> Mon, 26 Jun 2006 14:54:30 +0200 + initramfs-tools (0.65) unstable; urgency=low * scripts/local-top/lvm: Activate root and resume volume group. diff --git a/scripts/local-top/lvm b/scripts/local-top/lvm index 8ff3b98..3b012ec 100755 --- a/scripts/local-top/lvm +++ b/scripts/local-top/lvm @@ -25,11 +25,12 @@ activate_vg() fi # Take care of lilo boot arg, risky activating of all vg - vg_lilo=${vg:0:2} - if [ "${vg_lilo}" = fe ]; then + case $vg in + fe[0-9]*) vgchange -ay exit 0 - fi + ;; + esac # Make sure that we have a d-m path vg=${vg#/dev/mapper/} @@ -50,6 +51,8 @@ if [ ! -e /sbin/vgchange ]; then fi modprobe -q dm-mod +modprobe -q dm-snapshot +modprobe -q dm-mirror activate_vg "$ROOT" activate_vg "$resume" |