dracut: rm -rf /usr/lib/kernel (systemd stuff).

This commit is contained in:
Juan RP 2015-07-14 10:49:38 +02:00
parent a405397d7f
commit a5f876a243
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dracut' # Template file for 'dracut'
pkgname=dracut pkgname=dracut
version=043 version=043
revision=4 revision=5
build_style=configure build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc" configure_args="--prefix=/usr --sysconfdir=/etc"
hostmakedepends="libxslt docbook-xsl asciidoc" hostmakedepends="libxslt docbook-xsl asciidoc"
@ -24,6 +24,7 @@ post_install() {
# We don't need the systemd stuff. # We don't need the systemd stuff.
rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd* rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
rm -f ${DESTDIR}/usr/share/man/man8/*.service.* rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
rm -rf ${DESTDIR}/usr/lib/kernel
} }
dracut-network_package() { dracut-network_package() {