]> git.zerfleddert.de Git - m1-debian/blob - libunwind.sh
work on make patch kernel config work on config-6.0.0-5-arm64
[m1-debian] / libunwind.sh
1 #!/usr/bin/env bash
2
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6 set -o xtrace
7
8 cd "$(dirname "$0")"
9
10 unset LC_CTYPE
11 unset LANG
12
13 main() {
14 mkdir -p build
15 cd build
16 dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
17 rm -rf libunwind-1.6.2/
18 apt-get source libunwind
19 cd libunwind-1.6.2/
20 EMAIL=thomas@glanzmann.de dch 'Variable page size patch applied'
21 curl -sL https://tg.st/u/0001-libunwind-1.6.2-dynamic-page-size.patch > debian/patches/0001-libunwind-1.6.2-dynamic-page-size.patch
22 echo '0001-libunwind-1.6.2-dynamic-page-size.patch' >> debian/patches/series
23 sudo apt-get build-dep .
24 dpkg-buildpackage -uc -us -a arm64
25 }
26
27 main "$@"
Impressum, Datenschutz