]> git.zerfleddert.de Git - m1-debian/blame - libunwind.sh
work on make patch kernel config work on config-6.0.0-5-arm64
[m1-debian] / libunwind.sh
CommitLineData
3d4eab78
TG
1#!/usr/bin/env bash
2
3set -o errexit
4set -o nounset
5set -o pipefail
6set -o xtrace
7
8cd "$(dirname "$0")"
9
10unset LC_CTYPE
11unset LANG
12
13main() {
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
27main "$@"
Impressum, Datenschutz