diff --git a/srcpkgs/dracut-crypt-ssh/template b/srcpkgs/dracut-crypt-ssh/template index e13b78645f1..bc019c98295 100644 --- a/srcpkgs/dracut-crypt-ssh/template +++ b/srcpkgs/dracut-crypt-ssh/template @@ -1,7 +1,7 @@ # Template file for 'dracut-crypt-ssh' pkgname=dracut-crypt-ssh version=1.0.3 -revision=1 +revision=2 build_style=gnu-configure conf_files="/etc/dracut.conf.d/crypt-ssh.conf" hostmakedepends="dracut" @@ -20,6 +20,6 @@ pre_configure() { sed -i 's/gcc/$(CC)/' modules/60crypt-ssh/helper/Makefile sed -i "s|CFLAGS=|CFLAGS=${CFLAGS} ${LDFLAGS} |" modules/60crypt-ssh/helper/Makefile sed -i 's|/lib64/libnss_files.so.2||' modules/60crypt-ssh/module-setup.sh - sed -i '107s|$|\n [ -f /lib/libnss_files.so.2 ] && dracut_install /lib/libnss_files.so.2|' \ + sed -i '107s|$|\n [ -f /lib/libnss_files.so.2 ] \&\& dracut_install /lib/libnss_files.so.2|' \ modules/60crypt-ssh/module-setup.sh }