2012-05-27 11:40:23 +02:00
|
|
|
#!/bin/bash
|
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
|
|
|
{
|
2012-05-27 21:54:46 +02:00
|
|
|
add_all_modules -f 'aes.ko' '/crypto/|cryptoloop'
|
2013-05-22 09:44:43 +02:00
|
|
|
add_binary "cryptsetup"
|
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"
|
2012-05-27 11:40:23 +02:00
|
|
|
add_runscript
|
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
|
|
|
|
}
|