summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: ffe999a4d7a01b56a1f2da0caa966bde2d961e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# upstream git revision: 98089e8726dec8643caee3df76b743aa8bc4c3e0

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

eval "$(
  declare -f package_linux-lts-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile,a install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile_32.cpu
    '
)"

# avoid using zstd compression in ultra mode (exhausts virtual memory)
source+=('no-ultra-zstd.patch')
sha256sums+=('3997ce6033fdf950a9960f1db720b38c47b1a2e06ab75fc6712c154f596e7c47')
# upstream prepare() does already do the *.patch patching