From c900c1f7f9d7fd569bf7ddee11c0f65b857ab5bd Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 20 Jun 2022 18:25:07 +0200 Subject: [PATCH] fix mmc on autoprepare --- usr/lib/archboot/installer/autoprepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/autoprepare.sh b/usr/lib/archboot/installer/autoprepare.sh index b5f5e4ea8..39406c02e 100644 --- a/usr/lib/archboot/installer/autoprepare.sh +++ b/usr/lib/archboot/installer/autoprepare.sh @@ -309,7 +309,7 @@ autoprepare() { DOMKFS="yes" PART="${DEVICE}$(echo "${fsspec}" | tr -d ' ' | cut -f1 -d:)" # Add check on nvme or mmc controller: Uses /dev/nvme0n1pX name scheme - if echo "${DEVICE}" | grep -q "nvme" || echo "${DEVICE}" | grep -q "mmc" + if echo "${DEVICE}" | grep -q "nvme" || echo "${DEVICE}" | grep -q "mmc"; then PART="${DEVICE}p$(echo "${fsspec}" | tr -d ' ' | cut -f1 -d:)" fi MP="$(echo "${fsspec}" | tr -d ' ' | cut -f2 -d:)"