From 9c1a475ec8bf31ee927b0b8f6a4a868ffcbeeadb Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 24 Jan 2023 11:01:48 +0100 Subject: [PATCH] remove root device --- usr/lib/archboot/installer/mountpoints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 926f9a8cd..9ed10610b 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -202,7 +202,7 @@ _mountpoints() { _check_mkfs_values echo "${_DEV}:${_FSTYPE}:${_MP}:${_DOMKFS}:${_LABEL_NAME}:${_FS_OPTIONS}:${_BTRFS_DEVS}:${_BTRFS_LEVEL}:${_BTRFS_SUBVOLUME}:${_BTRFS_COMPRESS}" >>/tmp/.parts #shellcheck disable=SC2001,SC2086 - if ! [[ "${_FSTYPE}" == "btrfs" ]] || [[ -n ${_DEV_ROOT} ]] && _DEVS="$(echo ${_DEVS} | sed -e "s#${_DEV} _##g")" + ! [[ "${_FSTYPE}" == "btrfs" ]] || [[ -n ${_DEV_ROOT} ]] && _DEVS="$(echo ${_DEVS} | sed -e "s#${_DEV} _##g")" fi _DO_ROOT="" _DEV_ROOT=""