archboot/usr/lib/initcpio/install/arch_encrypt

20 lines
399 B
Text
Raw Normal View History

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>
build ()
2007-02-22 23:46:50 +01:00
{
2012-05-27 11:40:23 +02:00
add_all_modules -f 'aes.ko' '/crypto/' 'cryptoloop'
add_binary "/sbin/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.
It depends on arch_devicemapper hook.
2007-02-22 23:46:50 +01:00
HELPEOF
}