2007-02-22 23:46:50 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2007-02-22 23:46:50 +01:00
|
|
|
{
|
2011-02-06 09:26:21 +01:00
|
|
|
MODULES=" $(all_modules "/crypto/" | grep -v "aes.ko" ) cryptoloop"
|
2011-07-25 21:53:01 +02:00
|
|
|
BINARIES="/sbin/cryptsetup"
|
2007-02-22 23:46:50 +01:00
|
|
|
FILES=""
|
2007-09-07 19:22:10 +02:00
|
|
|
SCRIPT="arch_encrypt"
|
2009-05-08 08:05:45 +02:00
|
|
|
# fix licenses
|
2009-12-06 19:47:51 +01:00
|
|
|
add_file "/usr/share/licenses/popt/LICENSE"
|
2007-02-22 23:46:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook allows for an encrypted root device on an arch boot image.
|
2009-11-28 18:31:39 +01:00
|
|
|
It depends on arch_devicemapper hook.
|
2007-02-22 23:46:50 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|