5.3.9-1 (clr 5.3.7-853) Use a more readable timestamp

This commit is contained in:
Josip Ponjavic 2019-11-06 13:43:38 +01:00
parent 39d9fc5b07
commit 0ed6325708
2 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-clear
pkgver = 5.3.8
pkgrel = 4
pkgver = 5.3.9
pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux
arch = x86_64
license = GPL2
@ -14,7 +14,7 @@ pkgbase = linux-clear
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.sign
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.3.8.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.3.9.xz
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.3.7-853
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.tar.gz
source = add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio
@ -22,7 +22,7 @@ pkgbase = linux-clear
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = 78f3c397513cf4ff0f96aa7d09a921d003e08fa97c09e0bb71d88211b40567b2
sha256sums = SKIP
sha256sums = 7225bd200069c7dd4fbae5cfe1c24f4f73939ea5bd213e20ac62771bdc9e7578
sha256sums = 92ee77e57bcde9bddfa3db69c26805fbffa27ca128feba670e04664e1407dc63
sha256sums = SKIP
sha256sums = 8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1

View file

@ -63,12 +63,12 @@ _enable_acs_override="y"
### IMPORTANT: Do no edit below this line unless you know what you're doing
_major=5.3
_minor=8
_minor=9
_srcname=linux-${_major}
_clr=${_major}.7-853
pkgbase=linux-clear
pkgver=${_major}.${_minor}
pkgrel=4
pkgrel=1
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux"
license=('GPL2')
@ -86,7 +86,7 @@ source=(
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH:-$(date +%s)}"
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd ${_srcname}
@ -102,7 +102,7 @@ prepare() {
echo "${pkgbase#linux}" > localversion.20-pkgname
### Add Clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0123' | sed -n 's/.*: //p'); do
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0123|^Patch0073' | sed -n 's/.*: //p'); do
msg2 "Applying patch ${i}..."
patch -Np1 -i "$srcdir/clearlinux/${i}"
done
@ -328,7 +328,7 @@ done
sha256sums=('78f3c397513cf4ff0f96aa7d09a921d003e08fa97c09e0bb71d88211b40567b2'
'SKIP'
'7225bd200069c7dd4fbae5cfe1c24f4f73939ea5bd213e20ac62771bdc9e7578'
'92ee77e57bcde9bddfa3db69c26805fbffa27ca128feba670e04664e1407dc63'
'SKIP'
'8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5'
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1')