From 80cad97b613d8281ad3d015f24cc2a837b078aac Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 15 Jan 2023 18:10:53 +0100 Subject: [PATCH] revert PV change --- usr/lib/archboot/installer/blockdevices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/blockdevices.sh b/usr/lib/archboot/installer/blockdevices.sh index 5d7681ac2..132d9ce06 100644 --- a/usr/lib/archboot/installer/blockdevices.sh +++ b/usr/lib/archboot/installer/blockdevices.sh @@ -667,7 +667,7 @@ _findpv() # ! "$(${_LSBLK} TYPE ${i} | grep "lvm")" #- not part of volume group # $(pvs -o vg_name --noheading ${i} | grep " $") - if ! ${_LSBLK} FSTYPE "${i}" | grep -q "LVM2" && pvs -o vg_name --noheading "${i}" | grep -q " $"; then + if ! ${_LSBLK} FSTYPE "${i}" | grep -q "lvm" && pvs -o vg_name --noheading "${i}" | grep -q " $"; then echo "${i}" [[ "${1}" ]] && echo "${1}" fi