From 06637e01d4f1b11f17685e34ee07eae86b3ddb7e Mon Sep 17 00:00:00 2001 From: ading2210 Date: Sat, 7 Oct 2023 22:41:49 -0700 Subject: [PATCH] fix finding multiple partitions on the same disk --- bootloader/bin/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootloader/bin/bootstrap.sh b/bootloader/bin/bootstrap.sh index 8653b54..249d8cf 100644 --- a/bootloader/bin/bootstrap.sh +++ b/bootloader/bin/bootstrap.sh @@ -39,7 +39,9 @@ find_rootfs_partitions() { if [ ! "${partitions}" ]; then continue fi - echo "${disk}${partitions}" + for partition in $partitions; do + echo "${disk}${partition}" + done done }