summaryrefslogtreecommitdiffstats
path: root/abs/core/cryptsetup/encrypt_install
blob: 28cfa3f6cd49ccfbf246bdf38cb878e10d9f8c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
}