forked from Mirror/pmbootstrap
Adjust luksFormat options to reduce time to open luks device on boot (#430)
This is a workaround for #429, until the iteration count can be specified directly in cryptsetup. * Add default iter-time option, and option to override * set SHA1 default hash for luksFormat, add option to override * [RX51] load omap-sham in initramfs for HW accel. sha1
This commit is contained in:
parent
70aa50ff50
commit
558cd40fbf
5 changed files with 14 additions and 6 deletions
|
@ -203,6 +203,9 @@ def arguments():
|
|||
" eg. /dev/mmcblk0")
|
||||
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"
|
||||
" miliseconds) to use when encrypting the system"
|
||||
" partiton")
|
||||
install.add_argument("--add", help="comma separated list of packages to be"
|
||||
" added to the rootfs (e.g. 'vim,gcc')")
|
||||
install.add_argument("--no-fde", help="do not use full disk encryption",
|
||||
|
@ -218,7 +221,7 @@ def arguments():
|
|||
action="store_true", dest="recovery_flash_bootimg")
|
||||
install.add_argument("--recovery-install-partition", default="system",
|
||||
help="partition to flash from recovery,"
|
||||
"eg. external_sd",
|
||||
" eg. external_sd",
|
||||
dest="recovery_install_partition")
|
||||
|
||||
# Action: menuconfig / parse_apkbuild
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue