dracut-crypt-ssh: fix escaping for ampersands in sed script (#5542)
This commit is contained in:
parent
127786d22a
commit
eb3194113f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue