And with the patch now... Sorry for the noise
Index: lib/auto-shared.sh =================================================================== --- lib/auto-shared.sh (révision 50888) +++ lib/auto-shared.sh (copie de travail) @@ -7,7 +7,7 @@ # Create new disk label; don't prompt for label . /lib/partman/lib/disk-label.sh create_new_label "$dev" no || return 1 - + cd $dev free_space='' @@ -71,6 +71,7 @@ break fi fi + mark_partition_as_lvm $id $* shift; shift; shift; shift setup_partition $id $* primary='' @@ -119,6 +120,17 @@ fi # Mark the partition LVM only if it is actually LVM and add it to vgpath + mark_partition_as_lvm $id $* + shift; shift; shift; shift + setup_partition $id $* + free_space=$(partition_after $id)' +} + +mark_partition_as_lvm() { + local id + id=$1 + shift + if echo "$*" | grep -q "method{ lvm }"; then devfspv_devices="$devfspv_devices $path" open_dialog GET_FLAGS $id @@ -130,9 +142,6 @@ write_line NO_MORE close_dialog fi - shift; shift; shift; shift - setup_partition $id $* - free_space=$(partition_after $id)' } get_auto_disks() {