Initial upload of HyprArch releng configuration
This commit is contained in:
29
airootfs/usr/lib/calamares/modules/initcpio/encrypt_hook
Executable file
29
airootfs/usr/lib/calamares/modules/initcpio/encrypt_hook
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 David McKinney <mckinney@subgraph.com>
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
PREREQ=""
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "$PREREQ"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
# get pre-requisites
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
if [ -f /crypto_keyfile.bin ]
|
||||
then
|
||||
cp /crypto_keyfile.bin ${DESTDIR}
|
||||
fi
|
||||
if [ -f /etc/crypttab ]
|
||||
then
|
||||
cp /etc/crypttab ${DESTDIR}/etc/
|
||||
fi
|
||||
Reference in New Issue
Block a user