will this work?

Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
This commit is contained in:
Xilin Wu 2024-06-22 22:07:53 +08:00
parent 90563600ca
commit 44d9d1aff1
2 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,4 @@
pkgbase = linux-ayn-odin2-stable pkgbase = linux-x1e80100-test
pkgver = 6.9.3.r1267498.479371ed0fda pkgver = 6.9.3.r1267498.479371ed0fda
pkgrel = 4 pkgrel = 4
url = https://github.com/edk2-porting/linux-next/ url = https://github.com/edk2-porting/linux-next/
@ -13,7 +13,7 @@ pkgbase = linux-ayn-odin2-stable
makedepends = uboot-tools makedepends = uboot-tools
makedepends = dtc makedepends = dtc
options = !strip options = !strip
source = git+http://192.168.0.51:3000/renegade-project/linux-next.git#branch=ci/odin2/stable source = git+http://192.168.0.51:3000/renegade-project/linux-next.git#branch=work/sakuramist-x1e80100
source = linux.preset source = linux.preset
source = linux.install source = linux.install
source = 60-linux.hook source = 60-linux.hook
@ -39,6 +39,6 @@ pkgbase = linux-ayn-odin2-stable
sha512sums = 6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1 sha512sums = 6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1
sha512sums = b2cdb620fcc6f0b430b0cf0c844887c2c1e290844ea330750cad52c9ec04e835ead973b664c7613d147037c388120affe97dfd2f2e0f9ae224db52aaa4cb8814 sha512sums = b2cdb620fcc6f0b430b0cf0c844887c2c1e290844ea330750cad52c9ec04e835ead973b664c7613d147037c388120affe97dfd2f2e0f9ae224db52aaa4cb8814
pkgname = linux-ayn-odin2-stable pkgname = linux-x1e80100-test
pkgname = linux-ayn-odin2-stable-headers pkgname = linux-x1e80100-test-headers

View File

@ -1,6 +1,6 @@
# Maintainer: BigfootACA <bigfoot@classfun.cn> # Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgbase=linux-ayn-odin2-stable pkgbase=linux-x1e80100-test
pkgver=6.9.3.r1267498.479371ed0fda pkgver=6.9.3.r1267498.479371ed0fda
pkgrel=4 pkgrel=4
arch=(aarch64) arch=(aarch64)
@ -17,7 +17,7 @@ makedepends=(
dtc dtc
) )
options=('!strip') options=('!strip')
source=("git+http://192.168.0.51:3000/renegade-project/linux-next.git#branch=ci/odin2/stable" source=("git+http://192.168.0.51:3000/renegade-project/linux-next.git#branch=work/sakuramist-x1e80100"
linux.preset linux.preset
linux.install linux.install
60-linux.hook 60-linux.hook
@ -61,13 +61,12 @@ prepare() {
cd "$srcdir/linux-next" cd "$srcdir/linux-next"
git remote remove github &>/dev/null || true git remote remove github &>/dev/null || true
git remote add github https://github.com/edk2-porting/linux-next git remote add github https://github.com/edk2-porting/linux-next
git pull github ci/odin2/stable git pull github work/sakuramist-x1e80100
echo "Setting version..." echo "Setting version..."
echo "-$pkgrel" > localversion.10-pkgrel echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname echo "${pkgbase#linux}" > localversion.20-pkgname
rm -f .config rm -f .config
make defconfig make x1e80100_defconfig
make odin2.config
} }
build() { build() {
@ -80,7 +79,7 @@ build() {
} }
_package() { _package() {
pkgdesc="The Linux Kernel and modules - AYN Odin 2 (Qualcomm Snapdragon 8 Gen 2, QCS8550)" pkgdesc="The Linux Kernel and modules - X1E80100 experimental kernel for sakuramist"
depends=('coreutils' 'kmod' 'mkinitcpio>=0.7') depends=('coreutils' 'kmod' 'mkinitcpio>=0.7')
optdepends=('wireless-regdb: to set the correct wireless channels of your country') optdepends=('wireless-regdb: to set the correct wireless channels of your country')
provides=("linux=${pkgver}" "linux-aarch64" "WIREGUARD-MODULE") provides=("linux=${pkgver}" "linux-aarch64" "WIREGUARD-MODULE")
@ -116,7 +115,7 @@ _package() {
} }
_package-headers() { _package-headers() {
pkgdesc="Header files and scripts for building modules for linux kernel - AYN Odin 2 (Qualcomm Snapdragon 8 Gen 2, QCS8550)" pkgdesc="Header files and scripts for building modules for linux kernel - X1E80100 experimental kernel for sakuramist"
provides=("linux-headers=${pkgver}") provides=("linux-headers=${pkgver}")
conflicts=('linux-headers') conflicts=('linux-headers')