Add experimental cryptsetup-multidisk-ssh

This commit is contained in:
moparisthebest
2016-12-04 22:45:45 -05:00
parent b2c3669909
commit 624fe6eef6
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Contributor: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=cryptsetup-multidisk-ssh
pkgver=1.0
pkgrel=1
pkgdesc='Handle multiple encrypted root devices with ssh shell'
arch=('any')
license=('GPL3')
optional=('mkinitcpio-dropbear' 'mkinitcpio-tinyssh')
url="https://github.com/moparisthebest/archlinux_encrypthook"
source=("https://codeload.github.com/moparisthebest/archlinux_encrypthook/tar.gz/v$pkgver" "encrypt_install")
sha256sums=('e38eed40eadfa7dadd697cbe6d06845edad35fcc37f910e5323d5b89fce5ef67'
'f97843c8ea18229361f89f13159c65bb4a0fc881589cc09a0433c66cf731052a')
package() {
install -D -m644 "archlinux_encrypthook-$pkgver/encrypt_hook" "${pkgdir}"/usr/lib/initcpio/hooks/encrypt-multidisk-ssh
install -D -m644 encrypt_install "${pkgdir}"/usr/lib/initcpio/install/encrypt-multidisk-ssh
}