]> git.zerfleddert.de Git - m1-debian/blob - meta.sh
f4a3c0d26c4f45e9142838de2a531c9895445d14
[m1-debian] / meta.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 export META_VERSION=6.2.0-1
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
20 Package: linux-image-asahi
21 Version: $META_VERSION
22 Section: base
23 Depends: linux-image-6.2.0-rc2-asahi (>= 6.2.0-rc2-asahi-62)
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
30 }
31
32 main "$@"
33
Impressum, Datenschutz