summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/dracut/APKBUILD11
-rw-r--r--user/dracut/header-fix.patch10
2 files changed, 17 insertions, 4 deletions
diff --git a/user/dracut/APKBUILD b/user/dracut/APKBUILD
index d8a43a248..c423d4cbe 100644
--- a/user/dracut/APKBUILD
+++ b/user/dracut/APKBUILD
@@ -2,17 +2,19 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dracut
pkgver=046
-pkgrel=0
+pkgrel=1
pkgdesc="An event-driven initramfs infrastructure"
url="https://dracut.wiki.kernel.org/"
arch="all"
license="GPL-2.0+"
-depends="cpio"
+depends="libarchive-tools"
makedepends="fts-dev kmod-dev"
install=""
options="!check" # Test suite is for kernel developers only, requires ext3 rootfs
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
-source="https://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.xz"
+source="https://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.xz
+ header-fix.patch
+ "
build() {
cd "$builddir"
@@ -49,4 +51,5 @@ bashcomp() {
"$subpkgdir"/usr/share
}
-sha512sums="75cefc184960024ef32f7bb5a0fe060e9c7d82dbfd0fe247d54b585e2ebbf0f8af5d5dc1be7e5e8cf2c3bc27b3293842c6361ae62d047289d0c59d7d40b09122 dracut-046.tar.xz"
+sha512sums="75cefc184960024ef32f7bb5a0fe060e9c7d82dbfd0fe247d54b585e2ebbf0f8af5d5dc1be7e5e8cf2c3bc27b3293842c6361ae62d047289d0c59d7d40b09122 dracut-046.tar.xz
+988f03a3fd2e7ee62409d3c57e8029403513dcec5efb37e64633d989728e4c7b619ce5b8775a04c5a0b654f7f093777d94fe6e4098a99a690c353a94f537e24c header-fix.patch"
diff --git a/user/dracut/header-fix.patch b/user/dracut/header-fix.patch
new file mode 100644
index 000000000..c0892acaa
--- /dev/null
+++ b/user/dracut/header-fix.patch
@@ -0,0 +1,10 @@
+--- dracut-046/install/util.h.old 2017-08-11 06:44:06.000000000 -0500
++++ dracut-046/install/util.h 2017-09-19 20:49:45.276508364 -0500
+@@ -36,6 +36,7 @@
+ #include <sys/stat.h>
+ #include <dirent.h>
+ #include <sys/resource.h>
++#include <sys/reg.h>
+
+ #include "macro.h"
+