-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-asahi: fix localversion, edit kconfig, update to 6.12.10+2
- Loading branch information
1 parent
2158f0c
commit 8a06ecc
Showing
2 changed files
with
112 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Template file for 'linux-asahi' | ||
pkgname=linux-asahi | ||
version=6.12.8+2 | ||
version=6.12.10+2 | ||
revision=1 | ||
short_desc="Linux kernel and modules for Apple Silicon" | ||
maintainer="Will Springer <[email protected]>, dkwo <[email protected]>" | ||
license="GPL-2.0-only" | ||
homepage="https://asahilinux.org" | ||
distfiles="https://github.com/AsahiLinux/linux/archive/asahi-${version/+/-}.tar.gz" | ||
checksum=026e5352d2071569b02601c47c6baa6584ab86095d9da2ecd6c4f1db7187ae44 | ||
checksum=86d1742a6e05852f190abb74466a76982af5a59e15b8b273fed8686d46deb7d1 | ||
|
||
python_version=3 | ||
|
||
|
@@ -23,7 +23,7 @@ hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel | |
pkg-config openssl-devel perl uboot-mkimage cpio pahole python3 zstd | ||
rust cargo rust-bindgen rust-src libclang" | ||
|
||
_kernver=${version%+*}-asahi_${revision} | ||
_kernver=${version}-asahi_${revision} | ||
triggers="kernel-hooks" | ||
kernel_hooks_version="${_kernver}" | ||
|
||
|
@@ -53,6 +53,8 @@ post_patch() { | |
# avoid the strip wrapper, its used to copy the objects to a new location | ||
# and required to avoid absolute relocations. | ||
vsed -e "s|\$(STRIP) \(--strip-debug -o \$@ \$<;\)|/usr/bin/${STRIP} \1|" -i drivers/firmware/efi/libstub/Makefile | ||
# use our own local version | ||
rm localversion.05-asahi | ||
} | ||
|
||
do_configure() { | ||
|
@@ -73,7 +75,7 @@ do_configure() { | |
fi | ||
|
||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version. | ||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config | ||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"+${version#*+}-asahi_${revision}\"|" .config | ||
} | ||
|
||
do_build() { | ||
|
@@ -86,7 +88,7 @@ do_build() { | |
} | ||
|
||
do_install() { | ||
local arch _args hdrdest | ||
local arch hdrdest | ||
arch=arm64 | ||
|
||
# Run depmod after compressing modules - makes depmod.sh a noop | ||
|