summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Gorski2023-02-01 08:34:29 +0100
committerPiotr Gorski2023-02-01 08:34:29 +0100
commite6cad8da5b053808ee0d10eb35a8e4d105f496d5 (patch)
tree5cf68ec74a56290417270d8400613b8f121cfc54
parenta001e934fb0e90056a82acb7e48b23acce2fe96b (diff)
downloadaur-e6cad8da5b053808ee0d10eb35a8e4d105f496d5.tar.gz
Drop merged patch
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
-rw-r--r--.SRCINFO6
-rw-r--r--0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch73
-rw-r--r--PKGBUILD6
3 files changed, 4 insertions, 81 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b91bd0e0487..5e83b6049c34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-next-git
pkgdesc = Linux NEXT
- pkgver = 20230131.r0.g80bd9028feca
- pkgrel = 2
+ pkgver = 20230201.r0.g66eee64b2354
+ pkgrel = 1
url = http://www.kernel.org/
arch = x86_64
license = GPL2
@@ -16,11 +16,9 @@ pkgbase = linux-next-git
options = !strip
source = git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
source = https://gitlab.com/sirlucjan/kernel-patches/raw/master/6.1/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
- source = 0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch
source = config
sha512sums = SKIP
sha512sums = 3ccb02d9e7a09651351cf379aca5cb66a5402c8e9e890cfaebf8d869b82858eb7e1be5a49f8dcd918ebe4b70cfffd39f6591d30752d7e8c9d1d9bddfe70fb0fd
- sha512sums = e1570711e53ded89f3dbda989a027cb6b3178ce47bb152e22840430973f11303f5a4068792eaf9ee969ae40337ff0b0549ef5908d785cbec900a850e70547175
sha512sums = f1d1d414e0e3b04846bc17a6bf1d9c91d8a629a8ee5882c7aece723ce690ae899729937b9e15aefec63cf2f943eb8a00c5b0616c938cdc3994e755f0e2c57ac6
pkgname = linux-next-git
diff --git a/0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch b/0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch
deleted file mode 100644
index b26ef9e9312a..000000000000
--- a/0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From 4de392193e1d932255beed40102f2992ec2779c4 Mon Sep 17 00:00:00 2001
-From: Masahiro Yamada <masahiroy@kernel.org>
-Date: Tue, 31 Jan 2023 22:32:53 +0900
-Subject: [PATCH] setlocalversion: do not append git commit hash if
- localversion* exists
-
-Since commit dcfbcb1033bb ("setlocalversion: use only the correct
-release tag for git-describe"), KERNELRELEASE of linux-next is
-annoyingly long:
-
- $ make kernelrelease
- 6.2.0-rc6-next-20230131-09515-g80bd9028feca
-
-The string '-09515-g80bd9028feca' is appended because git-describe now
-uses the v6.2-rc6 tag instead of the next-20230113 tag.
-
-In linux-next, the 'localversion-next' file well specifies the local
-version, so the extra info from git is unneeded.
-
-Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
----
- scripts/setlocalversion | 21 +++++++++++----------
- 1 file changed, 11 insertions(+), 10 deletions(-)
-
-diff --git a/scripts/setlocalversion b/scripts/setlocalversion
-index e2b2d492ac13..4219a0ca1e62 100755
---- a/scripts/setlocalversion
-+++ b/scripts/setlocalversion
-@@ -113,22 +113,23 @@ if [ -z "${KERNELVERSION}" ]; then
- exit 1
- fi
-
--res="${KERNELVERSION}"
--
- # localversion* files in the build and source directory
--res="${res}$(collect_files localversion*)"
-+file_localversion="$(collect_files localversion*)"
- if test ! "$srctree" -ef .; then
-- res="$res$(collect_files "$srctree"/localversion*)"
-+ file_localversion="${file_localversion}$(collect_files "$srctree"/localversion*)"
- fi
-
--# CONFIG_LOCALVERSION and LOCALVERSION (if set)
-+# CONFIG_LOCALVERSION
- config_localversion=$(sed -n 's/^CONFIG_LOCALVERSION=\(.*\)$/\1/p' include/config/auto.conf)
--res="${res}${config_localversion}${LOCALVERSION}"
-
- # scm version string if not at the kernel version tag
--if grep -q "^CONFIG_LOCALVERSION_AUTO=y$" include/config/auto.conf; then
-+if [ -n "${file_localversion}" ]; then
-+ # If localversion* files exist (like in linux-next), the version is
-+ # well specified. Do not append scm_version.
-+ scm_version=
-+elif grep -q "^CONFIG_LOCALVERSION_AUTO=y$" include/config/auto.conf; then
- # full scm version string
-- res="$res$(scm_version)"
-+ scm_version="$(scm_version)"
- elif [ "${LOCALVERSION+set}" != "set" ]; then
- # If the variable LOCALVERSION is not set, append a plus
- # sign if the repository is not in a clean annotated or
-@@ -137,7 +138,7 @@ elif [ "${LOCALVERSION+set}" != "set" ]; then
- #
- # If the variable LOCALVERSION is set (including being set
- # to an empty string), we don't want to append a plus sign.
-- res="$res$(scm_version --short)"
-+ scm_version="$(scm_version --short)"
- fi
-
--echo "$res"
-+echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}${scm_version}"
---
-2.39.0.rc2.1.gbd5df96b79
-
diff --git a/PKGBUILD b/PKGBUILD
index 655fa649e04d..58fac80bf03d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,9 +47,9 @@ _1k_HZ_ticks=
### Do not edit below this line unless you know what you're doing
pkgbase=linux-next-git
-pkgver=20230131.r0.g80bd9028feca
+pkgver=20230201.r0.g66eee64b2354
_srcname=linux-next
-pkgrel=2
+pkgrel=1
pkgdesc='Linux NEXT'
arch=('x86_64')
url="http://www.kernel.org/"
@@ -62,7 +62,6 @@ _lucjanpath="https://gitlab.com/sirlucjan/kernel-patches/raw/master/${_lucjanver
source=("git://git.kernel.org/pub/scm/linux/kernel/git/next/${_srcname}.git"
"${_lucjanpath}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
- '0002-setlocalversion-do-not-append-git-commit-hash-if-loc.patch'
# the main kernel config files
'config')
@@ -290,5 +289,4 @@ done
sha512sums=('SKIP'
'3ccb02d9e7a09651351cf379aca5cb66a5402c8e9e890cfaebf8d869b82858eb7e1be5a49f8dcd918ebe4b70cfffd39f6591d30752d7e8c9d1d9bddfe70fb0fd'
- 'e1570711e53ded89f3dbda989a027cb6b3178ce47bb152e22840430973f11303f5a4068792eaf9ee969ae40337ff0b0549ef5908d785cbec900a850e70547175'
'f1d1d414e0e3b04846bc17a6bf1d9c91d8a629a8ee5882c7aece723ce690ae899729937b9e15aefec63cf2f943eb8a00c5b0616c938cdc3994e755f0e2c57ac6')