]>
Commit | Line | Data |
---|---|---|
882336ea TG |
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 | ||
1c1106d1 TG |
13 | mkdir -p build |
14 | cd build | |
31b39e6a | 15 | export META_VERSION=6.5.0-2 |
1c1106d1 TG |
16 | rm -rf linux-image-asahi_${META_VERSION}_arm64 |
17 | mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN | |
59b40e06 | 18 | cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <<EOF |
882336ea TG |
19 | Package: linux-image-asahi |
20 | Version: $META_VERSION | |
21 | Section: base | |
31b39e6a | 22 | Depends: linux-image-6.5.0-asahi-00780-g62806c2c6f29 |
1c1106d1 | 23 | Provides: wireguard-modules (= 1.0.0) |
882336ea TG |
24 | Priority: optional |
25 | Architecture: arm64 | |
26 | Maintainer: Thomas Glanzmann <thomas@glanzmann.de> | |
27 | Description: Linux for 64-bit apple silicon machines (meta-package) | |
28 | EOF | |
1c1106d1 | 29 | dpkg-deb --build linux-image-asahi_${META_VERSION}_arm64 |