mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 19:39:51 +03:00
pmb/install: have size_boot, size_root in MiB (MR 1946)
Prepare for a future patch, that adds reserved space in MiB, by changing size_boot and size_root from bytes to MB everywhere. This is what we need most of the time and allows to drop some /1024**2 statements.
This commit is contained in:
parent
63fc2b621a
commit
2fc0794e30
4 changed files with 15 additions and 15 deletions
|
@ -135,8 +135,8 @@ def chroot(args):
|
|||
|
||||
# Install blockdevice
|
||||
if args.install_blockdev:
|
||||
size_boot = 128 * 1024 * 1024 # 128 MiB
|
||||
size_root = 4096 * 1024 * 1024 # 4 GiB
|
||||
size_boot = 128 # 128 MiB
|
||||
size_root = 4096 # 4 GiB
|
||||
pmb.install.blockdevice.create_and_mount_image(args, size_boot,
|
||||
size_root)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue