From: Thomas Glanzmann Date: Sun, 11 Dec 2022 10:39:26 +0000 (+0100) Subject: add packaging infrastructure X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/882336ea48791b005b5fd596e87e275900328620?hp=ce492006c529807cfcc3dafc471b71ddd8474c59 add packaging infrastructure --- diff --git a/meta.sh b/meta.sh new file mode 100644 index 0000000..6c3c1b7 --- /dev/null +++ b/meta.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash + +set -o errexit +set -o nounset +set -o pipefail +set -o xtrace + +cd "$(dirname "$0")" + +unset LC_CTYPE +unset LANG + +main() { + mkdir -p build + cd build + export META_VERSION=6.1.0-1 + rm -rf linux-image-asahi_${META_VERSION} + mkdir -p linux-image-asahi_${META_VERSION}/DEBIAN +cat > linux-image-asahi_${META_VERSION}/DEBIAN/control <= 6.1.0-rc8-asahi-36) +Priority: optional +Architecture: arm64 +Maintainer: Thomas Glanzmann +Description: Linux for 64-bit apple silicon machines (meta-package) +EOF + dpkg-deb --build linux-image-asahi_${META_VERSION} +} + +main "$@" +