mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +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
|
test -b $data_dev && exit 0
|
||||||
|
|
||||||
msg_begin "Creating data partition"
|
msg_begin "Creating data partition"
|
||||||
root_end=$(partx -s -g -o END $root_dev)
|
data_start=$((512 * 2048)) # up to 512MB reserved for boot + root
|
||||||
data_start=$(($root_end + 1))
|
|
||||||
echo -e "n
|
echo -e "n
|
||||||
p
|
p
|
||||||
3
|
3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user