1 pkgname=dropbear_initrd_encrypt
4 pkgdesc="provides SSH access in initrd to enter root luks passphrase "
6 url="https://mw.vc/2009/08/08/luks-pass-over-ssh-archlinux/"
8 depends=('dropbear' 'cryptsetup' 'mkinitcpio-nfs-utils' 'psmisc' 'iproute2')
9 install=$pkgname.install
10 source=(dropbear_hook dropbear_install encryptssh_hook encryptssh_install)
11 md5sums=('9499518c882d810c6c090e60ab9617b7'
12 'd996c571fd670a5baf5ffe26420d2dbd'
13 'd6215b016f4b73c0d3017d0c8230c99d'
14 '021ed02865e4043e5929737430242616')
17 install -Dm644 "$srcdir"/dropbear_hook "$pkgdir"/lib/initcpio/hooks/dropbear
18 install -Dm644 "$srcdir"/dropbear_install "$pkgdir"/lib/initcpio/install/dropbear
19 install -Dm644 "$srcdir"/encryptssh_hook "$pkgdir"/lib/initcpio/hooks/encryptssh
20 install -Dm644 "$srcdir"/encryptssh_install "$pkgdir"/lib/initcpio/install/encryptssh