dracut: remove systemd stuff completely; we don't need it.

This commit is contained in:
Juan RP 2015-06-30 17:47:14 +02:00
parent 8e0e5c3151
commit 32c6d10cff
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dracut'
pkgname=dracut
version=043
revision=2
revision=3
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc"
hostmakedepends="libxslt docbook-xsl asciidoc"
@ -21,6 +21,9 @@ post_install() {
# kernel hooks.
vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 10-dracut
vinstall ${FILESDIR}/kernel-hook-postrm 755 etc/kernel.d/post-remove 10-dracut
# We don't need the systemd stuff.
rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
}
dracut-network_package() {