summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2020-01-09 16:33:58 +0100
committerJosip Ponjavic2020-01-09 16:33:58 +0100
commitab2a0c7497822ed0cd8932113482aa102a319af0 (patch)
tree3caba68dc6af836a9d8388b9a3d54d24e861d0ca
parentc637e5f6dc591daa585cf43b5b9d1b39ac918e0f (diff)
downloadaur-ab2a0c7497822ed0cd8932113482aa102a319af0.tar.gz
5.4.5-1 (clr 5.4.5-47)
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD20
2 files changed, 18 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afeb544fdef..026238bf7af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,27 @@
pkgbase = linux-clear-preempt-rt
pkgdesc = Clear Linux Preempt-RT
- pkgver = 5.2.21
- pkgrel = 4
+ pkgver = 5.4.5
+ pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux-preempt-rt
arch = x86_64
license = GPL2
makedepends = bc
makedepends = cpio
makedepends = git
- makedepends = inetutils
makedepends = kmod
makedepends = libelf
makedepends = xmlto
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.21.tar.xz
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.21.tar.sign
- source = https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.2/patch-5.2.21-rt15.patch.xz
- source = clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=5.2.21-47
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.sign
+ source = https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-5.4.5-rt3.patch.xz
+ source = clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=5.4.5-47
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.tar.gz
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
- sha256sums = 9a8ee3ff75dabffa76141c8dc7529dfbb3ca07888a3708a13f15b412268b3538
+ sha256sums = 568e9f27fbba86131c2e2849f296d54216e2ed3e8c4d8aa78a93b417cab23ec0
sha256sums = SKIP
- sha256sums = 0165f49d090cf8aa48049b0eaa49fc1cb01637ec5c3b4a5e580685d5877e9f36
+ sha256sums = fdb943eee48582b65f3a4876cc8f7b1e1b274dd57287762c0e8a68ff681d855b
sha256sums = SKIP
sha256sums = 8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5
diff --git a/PKGBUILD b/PKGBUILD
index fec5fa52da6..b121db807a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,24 +58,24 @@ _localmodcfg=
### IMPORTANT: Do no edit below this line unless you know what you're doing
-_major=5.2
-_minor=21
+_major=5.4
+_minor=5
_srcname=linux-${_major}.${_minor}
_clr=${_major}.${_minor}-47
pkgbase=linux-clear-preempt-rt
pkgver=${_major}.${_minor}
-pkgrel=4
+pkgrel=1
pkgdesc='Clear Linux Preempt-RT'
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux-preempt-rt"
license=('GPL2')
-makedepends=('bc' 'cpio' 'git' 'inetutils' 'kmod' 'libelf' 'xmlto')
+makedepends=('bc' 'cpio' 'git' 'kmod' 'libelf' 'xmlto')
options=('!strip')
_gcc_more_v='20190822'
source=(
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.${_minor}.tar.xz"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.${_minor}.tar.sign"
- "https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.2/patch-${_major}.${_minor}-rt15.patch.xz"
+ "https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-${_major}.${_minor}-rt3.patch.xz"
"clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=${_clr}"
"enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz"
)
@@ -89,7 +89,7 @@ prepare() {
### Add upstream patches
msg2 "Add upstream patches"
- patch -Np1 -i ../patch-${pkgver}-rt15.patch
+ patch -Np1 -i ../patch-${pkgver}-rt3.patch
### Setting version
msg2 "Setting version..."
@@ -98,7 +98,7 @@ prepare() {
echo "${pkgbase#linux}" > localversion.20-pkgname
### Add Clearlinux patches
- for i in $(grep '^Patch' ${srcdir}/clearlinux-preempt-rt/linux-preempt-rt.spec | grep -Ev '^Patch0000|^Patch0125|^Patch0129' | sed -n 's/.*: //p'); do
+ for i in $(grep '^Patch' ${srcdir}/clearlinux-preempt-rt/linux-preempt-rt.spec | grep -Ev '^Patch0000|^Patch0123|^Patch0130' | sed -n 's/.*: //p'); do
msg2 "Applying patch ${i}..."
patch -Np1 -i "$srcdir/clearlinux-preempt-rt/${i}"
done
@@ -195,7 +195,7 @@ prepare() {
build() {
cd ${_srcname}
- make bzImage modules
+ make -j$(nproc) bzImage modules
}
_package() {
@@ -316,9 +316,9 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('9a8ee3ff75dabffa76141c8dc7529dfbb3ca07888a3708a13f15b412268b3538'
+sha256sums=('568e9f27fbba86131c2e2849f296d54216e2ed3e8c4d8aa78a93b417cab23ec0'
'SKIP'
- '0165f49d090cf8aa48049b0eaa49fc1cb01637ec5c3b4a5e580685d5877e9f36'
+ 'fdb943eee48582b65f3a4876cc8f7b1e1b274dd57287762c0e8a68ff681d855b'
'SKIP'
'8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5')