Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: 9563f285dab1f1a33a75a3a1313b5badf79cbc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# upstream git revision: f47b7db2bf87dce9364d8229d275ace54bba6503

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '328db52e866c57634cd79b59080900e39a42995408823fb04805fcaf3e0565ee' ]; then
    sha256sums[${i}]='c6ad963c9f4ad6d3bdbd6d8f972afc3dd699f2610e2bd7626cb839ce45635bd0'
  fi
done

eval "$(
  declare -f package_linux-lts-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile,a cp arch/x86/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/"
    '
)"