1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2024-12-27 07:44:11 +00:00

Remove documentation from headers package

This commit is contained in:
Dan Ziemba 2016-01-13 18:42:46 -05:00
parent 7ccf140f61
commit ea2072427e
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Wed Jan 13 23:20:15 UTC 2016 # Wed Jan 13 23:42:30 UTC 2016
pkgbase = linux-vfio pkgbase = linux-vfio
pkgver = 4.4 pkgver = 4.4
pkgrel = 1 pkgrel = 1

View File

@ -253,6 +253,7 @@ _package-headers() {
mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"
done done
rm -rf "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"
chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;