dracut: update to 041.

This commit is contained in:
Juan RP 2015-02-18 15:46:25 +01:00
parent 9eb9edbea1
commit f4b24fec27

View file

@ -1,7 +1,7 @@
# Template file for 'dracut' # Template file for 'dracut'
pkgname=dracut pkgname=dracut
version=040 version=041
revision=4 revision=1
build_style=meta build_style=meta
hostmakedepends="libxslt docbook-xsl asciidoc" hostmakedepends="libxslt docbook-xsl asciidoc"
depends="psmisc cpio" depends="psmisc cpio"
@ -14,7 +14,7 @@ short_desc="A new initramfs infrastructure"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz" distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
checksum=b6e743353804b46e350177b9ecb9a8511df7e8c4ff9e0b4f3b4f72bc509c98a3 checksum=8ece6c2240bf0e9283e5f717b65dfcd6830b3ef7f8d1c01b60014052f1063251
do_build() { do_build() {
export CFLAGS="$CFLAGS -Wformat" export CFLAGS="$CFLAGS -Wformat"
@ -24,8 +24,6 @@ do_install() {
# fix path to busybox. # fix path to busybox.
sed -i "s|/sbin/busybox|/bin/busybox|g" modules.d/05busybox/module-setup.sh sed -i "s|/sbin/busybox|/bin/busybox|g" modules.d/05busybox/module-setup.sh
make DESTDIR=${DESTDIR} sysconfdir=/etc systemdsystemunitdir=/usr/lib/systemd/system install make DESTDIR=${DESTDIR} sysconfdir=/etc systemdsystemunitdir=/usr/lib/systemd/system install
# Remove --rsyncable argument for gzip WTF??
sed -i 's,--rsyncable,,g' ${DESTDIR}/usr/bin/dracut
# kernel hooks. # kernel hooks.
vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 10-dracut vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 10-dracut