d9840feef9
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.
23 lines
293 B
Bash
Executable File
23 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
|