diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-25 21:00:38 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-25 21:00:38 +0200 |
commit | 8c9ea9d2c2e13435ee69ee4103977cbf638346c4 (patch) | |
tree | 6654675ff63366e559730b8d863f98831cccb6ae | |
parent | 5482ee343358072ebeeed46cf87c164e5da4e4ec (diff) | |
download | alpine-conf-8c9ea9d2c2e13435ee69ee4103977cbf638346c4.zip |
setup-disk: fix whitespace error
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
-rw-r--r-- | setup-disk.in | 2 |
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 |