]> git.zerfleddert.de Git - m1-debian/blame - meta.sh
make m1n1 package compatible with new way to package things
[m1-debian] / meta.sh
CommitLineData
882336ea
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 export META_VERSION=6.1.0-1
59b40e06
TG
17 rm -rf linux-image-asahi_${META_VERSION}_arm64
18 mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN
19cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <<EOF
882336ea
TG
20Package: linux-image-asahi
21Version: $META_VERSION
22Section: base
23Depends: linux-image-6.1.0-rc8-asahi (>= 6.1.0-rc8-asahi-36)
24Priority: optional
25Architecture: arm64
26Maintainer: Thomas Glanzmann <thomas@glanzmann.de>
27Description: Linux for 64-bit apple silicon machines (meta-package)
28EOF
59b40e06 29 dpkg-deb --build linux-image-asahi_${META_VERSION}_arm64
882336ea
TG
30}
31
32main "$@"
33
Impressum, Datenschutz