mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-28 21:05:45 -05:00
This matches the fix in initcpiocfg. I had to create an encrypt_hook_nokey that is a copy of encrypt_hook without the part that copies the keyfile.
22 lines
293 B
Bash
Executable file
22 lines
293 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PREREQ=""
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
# get pre-requisites
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
if [ -f /etc/crypttab ]
|
|
then
|
|
cp /etc/crypttab ${DESTDIR}/etc/
|
|
fi
|