mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-29 17:30:41 +08:00
update linux-phicomm-n1-lts-git: add disable-scm-version.patch
This commit is contained in:
parent
698774c59c
commit
6bd03cf784
3 changed files with 18 additions and 5 deletions
12
linux-phicomm-n1-lts-git/0001-disable-scm-version.patch
Normal file
12
linux-phicomm-n1-lts-git/0001-disable-scm-version.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
|
||||||
|
index 71f39410691b..f76b0bbc6f5d 100755
|
||||||
|
--- a/scripts/setlocalversion
|
||||||
|
+++ b/scripts/setlocalversion
|
||||||
|
@@ -31,6 +31,7 @@ fi
|
||||||
|
|
||||||
|
scm_version()
|
||||||
|
{
|
||||||
|
+ return
|
||||||
|
local short
|
||||||
|
short=false
|
||||||
|
|
|
@ -9,7 +9,7 @@ pkgbase=linux-phicomm-n1-lts-git
|
||||||
_srcname=Amlogic_s905-kernel
|
_srcname=Amlogic_s905-kernel
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="AArch64 kernel for Phicomm N1"
|
_desc="AArch64 kernel for Phicomm N1"
|
||||||
pkgver=4.19.74.gd63fb2829240
|
pkgver=4.19.76.gffc1f4d0798f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url="https://github.com/isjerryxiao/Amlogic_s905-kernel"
|
url="https://github.com/isjerryxiao/Amlogic_s905-kernel"
|
||||||
|
@ -18,10 +18,12 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' '
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("git+https://github.com/isjerryxiao/Amlogic_s905-kernel.git#branch=linux-4.19.y"
|
source=("git+https://github.com/isjerryxiao/Amlogic_s905-kernel.git#branch=linux-4.19.y"
|
||||||
'config'
|
'config'
|
||||||
|
'0001-disable-scm-version.patch'
|
||||||
'linux.preset'
|
'linux.preset'
|
||||||
'99-linux.hook')
|
'99-linux.hook')
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'25a21a791d6dcbd168c9cd41adb1d901'
|
'25a21a791d6dcbd168c9cd41adb1d901'
|
||||||
|
'b8a3b7cc32a8786114e29c41636979fc'
|
||||||
'f6ee374f560e1b9df6a7de2399027d1b'
|
'f6ee374f560e1b9df6a7de2399027d1b'
|
||||||
'd1c40c7367a7081f3b4c03264780f9d4')
|
'd1c40c7367a7081f3b4c03264780f9d4')
|
||||||
|
|
||||||
|
@ -33,6 +35,9 @@ pkgver() {
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
|
# disable scm version
|
||||||
|
patch -p1 < "../0001-disable-scm-version.patch"
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
||||||
|
|
|
@ -5,10 +5,6 @@ timeout:
|
||||||
priority:
|
priority:
|
||||||
-10
|
-10
|
||||||
extra:
|
extra:
|
||||||
- prebuild:
|
|
||||||
- mv src/Amlogic_s905-kernel/.git src/Amlogic_s905-kernel/.git-1
|
|
||||||
- postbuild:
|
|
||||||
- mv src/Amlogic_s905-kernel/.git-1 src/Amlogic_s905-kernel/.git
|
|
||||||
- failure:
|
- failure:
|
||||||
- rm -rf 'src_fail'
|
- rm -rf 'src_fail'
|
||||||
- mv 'src' 'src_fail'
|
- mv 'src' 'src_fail'
|
||||||
|
|
Loading…
Reference in a new issue