mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
Reserve 512MB for boot + root
This commit is contained in:
parent
f4dd731eca
commit
d86eba8728
@ -23,8 +23,7 @@ case "$1" in
|
||||
test -b $data_dev && exit 0
|
||||
|
||||
msg_begin "Creating data partition"
|
||||
root_end=$(partx -s -g -o END $root_dev)
|
||||
data_start=$(($root_end + 1))
|
||||
data_start=$((512 * 2048)) # up to 512MB reserved for boot + root
|
||||
echo -e "n
|
||||
p
|
||||
3
|
||||
|
Loading…
x
Reference in New Issue
Block a user