]>
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 | ||
13 | main() { | |
14 | mkdir -p build | |
15 | cd build | |
95e4b093 | 16 | export META_VERSION=6.2.0-1 |
59b40e06 TG |
17 | rm -rf linux-image-asahi_${META_VERSION}_arm64 |
18 | mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN | |
19 | cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <<EOF | |
882336ea TG |
20 | Package: linux-image-asahi |
21 | Version: $META_VERSION | |
22 | Section: base | |
95e4b093 | 23 | Depends: linux-image-6.2.0-rc2-asahi (>= 6.2.0-rc2-asahi-62) |
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 | |
59b40e06 | 29 | dpkg-deb --build linux-image-asahi_${META_VERSION}_arm64 |
882336ea TG |
30 | } |
31 | ||
32 | main "$@" | |
33 |