mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
This small patch updates the "geli setkey" flags pc-sysinstall uses
when saving a users passphrase, to make it work in HEAD with recent geli improvements. Submitted by: Kris Moore PR: 151002
This commit is contained in:
parent
85080d2d68
commit
c4201e3f33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214138
@ -296,7 +296,7 @@ setup_geli_loading()
|
||||
|
||||
# If we have a passphrase, set it up now
|
||||
if [ -e "${PARTDIR}-enc/${PART}-encpass" ] ; then
|
||||
cat ${PARTDIR}-enc/${PART}-encpass | geli setkey -S -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
|
||||
geli setkey -J ${PARTDIR}-enc/${PART}-encpass -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
|
||||
geli configure -b ${PART}
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user