forked from Mirror/pmbootstrap
Optional --rsync parameter for pmbootstrap install only copies the diff (#1151)
Should reduce wear of sd card. Example usage: pmbootstrap install --sdcard=/dev/mmcblk0 --no-fde --rsync More rsync output with pmbootstrap -v.
This commit is contained in:
parent
cd7280e1ee
commit
bdeec7a255
6 changed files with 36 additions and 12 deletions
|
@ -194,6 +194,12 @@ def initfs(args):
|
|||
|
||||
|
||||
def install(args):
|
||||
if args.rsync and args.full_disk_encryption:
|
||||
raise ValueError("Installation using rsync is not compatible with full"
|
||||
" disk encryption.")
|
||||
if args.rsync and not args.sdcard:
|
||||
raise ValueError("Installation using rsync only works on sdcard.")
|
||||
|
||||
pmb.install.install(args)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue