1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-24 13:05:09 +03:00

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:
Pavel Machek 2018-01-29 00:25:21 +01:00 committed by Oliver Smith
parent cd7280e1ee
commit bdeec7a255
6 changed files with 36 additions and 12 deletions

View file

@ -266,6 +266,8 @@ def arguments():
" chroot and install to sdcard or image file")
install.add_argument("--sdcard", help="path to the sdcard device,"
" eg. /dev/mmcblk0")
install.add_argument("--rsync", help="update the sdcard using rsync,"
" only works with --no-fde", action="store_true")
install.add_argument("--cipher", help="cryptsetup cipher used to"
" encrypt the system partition, eg. aes-xts-plain64")
install.add_argument("--iter-time", help="cryptsetup iteration time (in"