mirror of
				https://github.com/suiryc/archlinux-initrd-ssh-cryptsetup.git
				synced 2025-11-04 18:22:31 +03:00 
			
		
		
		
	Specify timeout for ipconfig so that we can still boot while network is done. Otherwise ipconfig remains stuck (until IP can be configured). If not given we default to 10s. Minor code refactoring. Moved configuration file from /etc/dropbear/initrd.env to /etc/initcpio/sshcs_env since it now contains options for ipconfig and not only dropbear. Package installation script move legacy file to new path if present. v0.3-1
		
			
				
	
	
		
			21 lines
		
	
	
		
			792 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			792 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Maintainer: Julien Coloos <julien.coloos [at] gmail [dot] com>
 | 
						|
pkgname=initrd-ssh-cryptsetup
 | 
						|
pkgver=0.3
 | 
						|
pkgrel=1
 | 
						|
pkgdesc="Allows for LUKS-encrypted devices to be unlocked remotely over SSH"
 | 
						|
arch=('any')
 | 
						|
url="https://github.com/suiryc/archlinux-$pkgname"
 | 
						|
license=('GPL3')
 | 
						|
depends=('dropbear' 'cryptsetup' 'mkinitcpio-nfs-utils' 'iproute2')
 | 
						|
install=$pkgname.install
 | 
						|
changelog='ChangeLog'
 | 
						|
source=("http://julien.coloos.free.fr/archlinux/$pkgname-$pkgver.tar.xz" "$pkgname.install")
 | 
						|
md5sums=('a25dbbac5cd82a8d87932e646e38d9c4'
 | 
						|
         'ac60109d80e7bb2af0d66e69aaf178a6')
 | 
						|
 | 
						|
package() {
 | 
						|
  install -Dm644 "$srcdir/src/install/ssh-cryptsetup" "$pkgdir/usr/lib/initcpio/install/ssh-cryptsetup"
 | 
						|
  install -Dm644 "$srcdir/src/hooks/ssh-cryptsetup"   "$pkgdir/usr/lib/initcpio/hooks/ssh-cryptsetup"
 | 
						|
}
 | 
						|
 |