From ea2072427ef80c3fcf15ad61f3c0d1e92e4367de Mon Sep 17 00:00:00 2001 From: Dan Ziemba Date: Wed, 13 Jan 2016 18:42:46 -0500 Subject: [PATCH] Remove documentation from headers package --- .SRCINFO | 2 +- PKGBUILD | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.SRCINFO b/.SRCINFO index df8812c..20ecd30 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Wed Jan 13 23:20:15 UTC 2016 +# Wed Jan 13 23:42:30 UTC 2016 pkgbase = linux-vfio pkgver = 4.4 pkgrel = 1 diff --git a/PKGBUILD b/PKGBUILD index e60903a..f76d334 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -253,6 +253,7 @@ _package-headers() { mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" done + rm -rf "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild" chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;