mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
partitioning: allow to disable boot partition if bootloader known to support rootfs
This commit is contained in:
@@ -98,7 +98,7 @@ function prepare_partitions() {
|
||||
local uefipart=$((next++))
|
||||
fi
|
||||
# Check if we need boot partition
|
||||
if [[ -n $BOOTFS_TYPE || $ROOTFS_TYPE != ext4 || $CRYPTROOT_ENABLE == yes ]]; then
|
||||
if [[ $BOOTSIZE != "0" && ( -n $BOOTFS_TYPE || $ROOTFS_TYPE != ext4 || $CRYPTROOT_ENABLE == yes ) ]]; then
|
||||
local bootpart=$((next++))
|
||||
local bootfs=${BOOTFS_TYPE:-ext4}
|
||||
[[ -z $BOOTSIZE || $BOOTSIZE -le 8 ]] && BOOTSIZE=${DEFAULT_BOOTSIZE}
|
||||
|
||||
Reference in New Issue
Block a user