UPDATE:
I managed to retrieve the linux-hardened kernel source code via asp:
asp update linux-hardened
asp export linux-hardened
Then, I modified config to enable hibernation (uncomment CONFIG_HIBERNATION) and applied this patch to PKGBUILD:
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index cd92940..707752a 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -3,7 +3,8 @@
# Contributor: Tobias Powalowski <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
-pkgbase=linux-hardened
+_pkgbase=linux-hardened
+pkgbase=linux-hardened-hibernate
pkgver=5.19.8.hardened2
pkgrel=1
pkgdesc='Security-Hardened Linux'
@@ -20,7 +21,7 @@ _srcname=linux-${pkgver%.*}
_srctag=${pkgver%.*}-${pkgver##*.}
source=(
https://www.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
- https://github.com/anthraxx/${pkgbase}/releases/download/${_srctag}/${pkgbase}-${_srctag}.patch{,.sig}
+ https://github.com/anthraxx/${_pkgbase}/releases/download/${_srctag}/${_pkgbase}-${_srctag}.patch{,.sig}
config # the main kernel config file
)
validpgpkeys=(
After that, I managed to update the checksums and my kernel is now compiling. I have one question: since I follow an Arch-related procedure, I was wondering if there may be incompatibilities due to the fact that I'm using Artix. May be a stupid question, but I'm pretty new to this. Since I retrieved the source through asp on a machine running Artix (i.e. with /etc/pacman.conf including the Artix repos), there should be no issue... But please, correct me if I'm wrong.