From 1957bf19f246962b23a2c9c7346f1a1893f0cb6f Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Tue, 13 Nov 2018 18:42:07 -0800 Subject: Updated to 4.18.19.a | Adjusted .previous to use absolute paths --- PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 489c6bd..3662025 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,5 +1,6 @@ # Maintainer: jc_gargma # Maintainer (Arch): Levente Polyak +# Contributor: Aqua-sama # Contributor (Arch): Daniel Micay # Contributor (Arch): Tobias Powalowski # Contributor (Arch): Thomas Baechler @@ -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() { -- cgit v1.2.1