forked from Mirror/pmbootstrap
pmbootstrap install: support size_reserve (MR 1946)
Create an empty partition between boot and root. This will be used by the on-device installer, as explained in detail here: https://wiki.postmarketos.org/wiki/On-device_installer
This commit is contained in:
parent
5fbc95c3c2
commit
a97ec615ad
5 changed files with 57 additions and 26 deletions
|
@ -137,8 +137,9 @@ def chroot(args):
|
|||
if args.install_blockdev:
|
||||
size_boot = 128 # 128 MiB
|
||||
size_root = 4096 # 4 GiB
|
||||
size_reserve = 2048 # 2 GiB
|
||||
pmb.install.blockdevice.create_and_mount_image(args, size_boot,
|
||||
size_root)
|
||||
size_root, size_reserve)
|
||||
|
||||
# Run the command as user/root
|
||||
if args.user:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue