From 5f65dd853760d0d6c4164f3ae2dcb702e4fabc22 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 21 May 2024 21:46:59 +0200 Subject: [PATCH] prepare bcachefs raid options --- usr/lib/archboot/installer/bcachefs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/lib/archboot/installer/bcachefs.sh b/usr/lib/archboot/installer/bcachefs.sh index a199ca230..0b7c2e3b6 100644 --- a/usr/lib/archboot/installer/bcachefs.sh +++ b/usr/lib/archboot/installer/bcachefs.sh @@ -45,6 +45,10 @@ _bcfs_select_raid_devices () { done _BCFS_DEVS=${_BCFS_DEVS//${_BCFS_DEV}\ _/} _RAIDNUMBER=1 + _bcfs_raid_options || return 1 + echo "${_DURABILITY}" "${_BCFS_LABEL}" "${_BCFS_DEV}" >>/tmp/.bcfs-raid-device + echo "${_BCFS_SSD_OPTIONS}" >>/tmp/.bcfs-raid-device + echo "${_BCFS_HDD_OPTIONS}" >>/tmp/.bcfs-raid-device while [[ "${_BCFS_DEV}" != "DONE" ]]; do _BCFS_DONE="" _RAIDNUMBER=$((_RAIDNUMBER + 1))