Commit 8c9ea9d2 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-disk: fix whitespace error

fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
parent 5482ee34
......@@ -1596,7 +1596,7 @@ if [ -z "$SWAP_SIZE" ]; then
SWAP_SIZE=$(find_swap_size $diskdevs)
fi
if [ -n "$USE_EFI" ] && [ -z "$BOOT_SIZE" ]; then
if [ -n "$USE_EFI" ] && [ -z "$BOOT_SIZE" ]; then
blocksize=$(cat $(echo $diskdevs | sed -E -e 's:/dev/([^ ]+):/sys/block/\1/queue/physical_block_size:g') | sort -n | tail -n 1)
# calculate minimal FAT32 size
# for block size 512 minimal size is 32MB
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment