From 8fba5f61daae39861ab2667d3bced8e58f6222e2 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 29 Jun 2024 20:40:19 +0200 Subject: [PATCH] fix multi bcachefs devices --- usr/lib/archboot/installer/bcachefs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/bcachefs.sh b/usr/lib/archboot/installer/bcachefs.sh index 43f090920..7a12461ce 100644 --- a/usr/lib/archboot/installer/bcachefs.sh +++ b/usr/lib/archboot/installer/bcachefs.sh @@ -132,7 +132,7 @@ _bcfs_raid_level() { 0 0; then while read -r i; do _BCFS_DEVS="${_BCFS_DEVS} ${i}" - _DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${i}" 2>"${_NO_LOG}")/}" + _DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "$(echo "${i}" | rg -o "/dev/.*)")" 2>"${_NO_LOG}")/}" done