mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
22 lines
408 B
Bash
22 lines
408 B
Bash
# vim: set ft=sh:
|
|
|
|
install ()
|
|
{
|
|
if [ -z "${CRYPTO_MODULES}" ]; then
|
|
MODULES=" dm-crypt $(all_modules "/crypto/") "
|
|
else
|
|
MODULES=" dm-crypt ${CRYPTO_MODULES} "
|
|
fi
|
|
BINARIES=""
|
|
add_dir "/dev/mapper"
|
|
add_file "/sbin/cryptsetup.static" "/bin/cryptsetup"
|
|
FILES=""
|
|
SCRIPT="encrypt"
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook allows for an encrypted root device.
|
|
HELPEOF
|
|
}
|