diff options
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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() { |