summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-11-13 18:42:07 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-11-13 18:42:07 -0800
commit1957bf19f246962b23a2c9c7346f1a1893f0cb6f (patch)
tree59a923af237470c597b53ee5f538d36b66cf2317
parentAdd check for config.previous, and use it if it exists (diff)
downloadlinux-hardened-ck-1957bf19f246962b23a2c9c7346f1a1893f0cb6f.tar.xz
Updated to 4.18.19.a | Adjusted .previous to use absolute paths
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 489c6bd..3662025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Aqua-sama <aqua@iserlohn-fortress.net>
# Contributor (Arch): Daniel Micay <danielmicay@gmail.com>
# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
# Contributor (Arch): Thomas Baechler <thomas@archlinux.org>
@@ -12,7 +13,7 @@
pkgbase=linux-hardened-ck
_majver=4.18
-_minver=17
+_minver=19
_pkgver=${_majver}.${_minver}
_hardenedver=a
_NUMAdisable=y
@@ -47,9 +48,9 @@ source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_pkgver}.tar.xz
90-linux.hook # pacman hook for initramfs regeneration
linux.preset # standard config files for mkinitcpio ramdisk
)
-sha256sums=('e2af41e093ea64526134288c421a66cfdc8cc107c2d3fd3c73c0979880b6a30c'
+sha256sums=('7c66c4c3cdc4f7e5cce8592b17dc11129f282fc94b7f451229dfc413a45631bd'
'SKIP'
- '82072ff32323eb3753d8223f5896f9b8fab89140e144c4bc1d3675c89b3d853d'
+ '44fa00fb9fa6aaf3a39971373c8c12931e3d4be9383491eaf1252f73e6e90fab'
'SKIP'
'cb33bfe492aeef9b1fda8d448483a7ef3d3fe27448e2114a775b25beb1bd8830'
'6e1f3cc3eb9a1e30a69ef1999f9aa6ad7f2f9fe4af7ba5dabe25d4ff19ee6740'
@@ -109,8 +110,8 @@ prepare() {
msg2 "Setting config..."
# we are in src/linux-x.yy.zz, looking for a config next to the pkgbuild
- if [ -f ../../config.previous ]; then
- cp ../../config.previous .config
+ if [ -f ${SRCDEST}/config.hardened-ck.previous ]; then
+ cp ${SRCDEST}/config.hardened-ck.previous .config
else
cp ../config.x86_64 .config
fi
@@ -139,7 +140,7 @@ prepare() {
msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)"
# back up the config
- cp .config ../../config.previous
+ cp .config ${SRCDEST}/config.hardened-ck.previous
}
build() {