Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
alpine-conf
Commits
8c9ea9d2
Commit
8c9ea9d2
authored
May 25, 2022
by
Natanael Copa
Browse files
setup-disk: fix whitespace error
fixes
aports#13861
parent
5482ee34
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup-disk.in
View file @
8c9ea9d2
...
@@ -1596,7 +1596,7 @@ if [ -z "$SWAP_SIZE" ]; then
...
@@ -1596,7 +1596,7 @@ if [ -z "$SWAP_SIZE" ]; then
SWAP_SIZE
=
$(
find_swap_size
$diskdevs
)
SWAP_SIZE
=
$(
find_swap_size
$diskdevs
)
fi
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
)
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
# calculate minimal FAT32 size
# for block size 512 minimal size is 32MB
# for block size 512 minimal size is 32MB
...
...
Natanael Copa
@ncopa
mentioned in issue
#10521 (closed)
·
Jul 01, 2022
mentioned in issue
#10521 (closed)
mentioned in issue #10521
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment