From 20e37abc0a461ebdcd52ba0cafb3dff4d5351041 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 14 Jan 2016 18:00:45 +0000 Subject: [PATCH] fix #47746 fix linux-headers file conflict with linux-docs --- PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index b0c7df5..d0319f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -260,6 +260,11 @@ _package-headers() { # remove unneeded architectures rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa} + + # remove a files already in linux-docs package + rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/Kconfig.recursion-issue-01" + rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/Kconfig.recursion-issue-02" + rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/Kconfig.select-break" } _package-docs() {