dracut-crypt-ssh: move dracut config to usr/lib/dracut/dracut.conf.d
This commit is contained in:
parent
198bb481b2
commit
2cfc38990e
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dracut-crypt-ssh'
|
# Template file for 'dracut-crypt-ssh'
|
||||||
pkgname=dracut-crypt-ssh
|
pkgname=dracut-crypt-ssh
|
||||||
version=1.0.7
|
version=1.0.7
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="dracut"
|
hostmakedepends="dracut"
|
||||||
makedepends="libblkid-devel"
|
makedepends="libblkid-devel"
|
||||||
|
@ -12,7 +12,6 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh"
|
homepage="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=c50b57b16d4aea3707e1f3e86777fafdb1b3551f2f4b6c4de5576eeb3b2f6bbc
|
checksum=c50b57b16d4aea3707e1f3e86777fafdb1b3551f2f4b6c4de5576eeb3b2f6bbc
|
||||||
conf_files="/etc/dracut.conf.d/crypt-ssh.conf"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i '111s/^/#/' configure
|
sed -i '111s/^/#/' configure
|
||||||
|
@ -23,3 +22,8 @@ pre_configure() {
|
||||||
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
|
modules/60crypt-ssh/module-setup.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/lib/dracut/dracut.conf.d
|
||||||
|
mv ${DESTDIR}/etc/dracut.conf.d/* ${DESTDIR}/usr/lib/dracut/dracut.conf.d
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue