mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Add ITERTIME parameter
Add ITERTIME configuration parameter to config.txt Issue #13
This commit is contained in:
parent
f2d4c8fee3
commit
ae1a48f8f5
2 changed files with 6 additions and 1 deletions
|
|
@ -32,6 +32,11 @@ export LVSWAPNAME="swap"
|
||||||
# 1 : Overwrite the existing logical volume as root vlume. 0 : Create new logical volume as root volume.
|
# 1 : Overwrite the existing logical volume as root vlume. 0 : Create new logical volume as root volume.
|
||||||
export OVERWRITEINSTALL=0
|
export OVERWRITEINSTALL=0
|
||||||
|
|
||||||
|
# Do not touch this parameter, unless you understand precisely what you are doing.
|
||||||
|
# This is a paameter value of the --iter-time option for cyrptsetup command.
|
||||||
|
# If you specify 1000, that means 1000mSec. 0 means compile default.
|
||||||
|
export ITERTIME=0
|
||||||
|
|
||||||
# Void Linux only. Ignored in Ubuntu.
|
# Void Linux only. Ignored in Ubuntu.
|
||||||
# The font size of the void-installer
|
# The font size of the void-installer
|
||||||
export XTERMFONTSIZE=11
|
export XTERMFONTSIZE=11
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ function pre_install() {
|
||||||
|
|
||||||
# Encrypt the partition to install Linux
|
# Encrypt the partition to install Linux
|
||||||
echo "...Initializing \"${DEV}${CRYPTPARTITION}\" as crypt partition"
|
echo "...Initializing \"${DEV}${CRYPTPARTITION}\" as crypt partition"
|
||||||
printf %s "${PASSPHRASE}" | cryptsetup luksFormat --type=luks1 --key-file - --batch-mode "${DEV}${CRYPTPARTITION}"
|
printf %s "${PASSPHRASE}" | cryptsetup luksFormat --iter-time "${ITERTIME}" --type=luks1 --key-file - --batch-mode "${DEV}${CRYPTPARTITION}"
|
||||||
|
|
||||||
fi # if erase all
|
fi # if erase all
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue