From d890a4b3f3cc67932697e6ce32e1ce902502664c Mon Sep 17 00:00:00 2001 From: Jianfeng Liu Date: Mon, 13 Oct 2025 11:33:59 +0800 Subject: [PATCH] partitioning: allow single root partition for all filesystem type --- lib/functions/image/partitioning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/partitioning.sh b/lib/functions/image/partitioning.sh index 5cfaa42be3..1914b39607 100644 --- a/lib/functions/image/partitioning.sh +++ b/lib/functions/image/partitioning.sh @@ -113,7 +113,7 @@ function prepare_partitions() { fi # Check if we need boot partition # Specialized storage extensions like cryptroot or lvm may require a boot partition - if [[ $BOOTSIZE != "0" && (-n $BOOTFS_TYPE || $ROOTFS_TYPE != ext4 || $BOOTPART_REQUIRED == yes) ]]; then + if [[ $BOOTSIZE != "0" && (-n $BOOTFS_TYPE || $BOOTPART_REQUIRED == yes) ]]; then local bootpart=$((next++)) local bootfs=${BOOTFS_TYPE:-ext4} [[ -z $BOOTSIZE || $BOOTSIZE -le 8 ]] && BOOTSIZE=${DEFAULT_BOOTSIZE}