mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
more cryptsetup fixes
This commit is contained in:
parent
ef04233088
commit
049fa2f4eb
1 changed files with 1 additions and 1 deletions
|
@ -4438,7 +4438,7 @@ auto_luks()
|
|||
# remove root device from crypttab
|
||||
if [[ -e /tmp/.crypttab && "$(grep -v '^#' ${DESTDIR}/etc/crypttab)" = "" ]]; then
|
||||
# add to temp crypttab
|
||||
sed -i -e "/ $(basename ${PART_ROOT}) /d" /tmp/.crypttab
|
||||
sed -i -e "/^$(basename ${PART_ROOT}) /d" /tmp/.crypttab
|
||||
cat /tmp/.crypttab >> ${DESTDIR}/etc/crypttab
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue