mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 12:30:39 +02:00
19 lines
401 B
Bash
19 lines
401 B
Bash
#!/bin/bash
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
add_all_modules -f 'aes.ko' '/crypto/|cryptoloop'
|
|
add_binary "/usr/sbin/cryptsetup"
|
|
# fix licenses
|
|
add_file "/usr/share/licenses/popt/LICENSE"
|
|
add_runscript
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook allows for an encrypted root device on an arch boot image.
|
|
It depends on arch_devicemapper hook.
|
|
HELPEOF
|
|
}
|