]>
Commit | Line | Data |
---|---|---|
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 | mkdir -p build | |
14 | cd build | |
15 | export META_VERSION=6.1.0-3 | |
16 | rm -rf linux-image-asahi_${META_VERSION}_arm64 | |
17 | mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN | |
18 | cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <<EOF | |
19 | Package: linux-image-asahi | |
20 | Version: $META_VERSION | |
21 | Section: base | |
22 | Depends: linux-image-6.1.0-asahi (>= 6.1.0-asahi-61) | |
23 | Provides: wireguard-modules (= 1.0.0) | |
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 | |
29 | dpkg-deb --build linux-image-asahi_${META_VERSION}_arm64 |