summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-25 21:00:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-25 21:00:38 +0200
commit8c9ea9d2c2e13435ee69ee4103977cbf638346c4 (patch)
tree6654675ff63366e559730b8d863f98831cccb6ae /setup-disk.in
parent5482ee343358072ebeeed46cf87c164e5da4e4ec (diff)
downloadalpine-conf-8c9ea9d2c2e13435ee69ee4103977cbf638346c4.zip
setup-disk: fix whitespace error
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index b5b8756..dd0ed0d 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -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