Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: 939f7932f058d77b46d104823da27a871b4bdd57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# upstream git revision: 15f078d5c736f3b0e28b5559ebf4ef71f91d60fe

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '387a28d6cf1ce4230ab5544fa1faace1a8d6bb3bb4c8857f8f103bbfa0b3ee4a' ]; then
    sha256sums[${i}]='66ba66ec28fdabb7a16588503044818c1d9ea3ab0be39bba4b26f7c17d81eb5a'
  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

# temporarily disabled documentation due to sphinx_rtd_theme (FS32#163)
pkgname=(
  $(
    printf '%s\n' "${pkgname[@]}" | \
      grep -v '^\$pkgbase-docs'
  )
)
eval "$(
  declare -f build | \
    sed '
      s/\bhtmldocs\b//
    '
)"