From cac5bbad99a9c083c5b5f85f07c7368287c64f72 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 18 Jul 2024 14:04:00 -0400 Subject: [PATCH] comment --- etc/dkms/framework.conf.d/30_security-misc.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/dkms/framework.conf.d/30_security-misc.conf b/etc/dkms/framework.conf.d/30_security-misc.conf index dda1ce7..abf9a78 100644 --- a/etc/dkms/framework.conf.d/30_security-misc.conf +++ b/etc/dkms/framework.conf.d/30_security-misc.conf @@ -3,8 +3,13 @@ ## Lower parallel compilation jobs to 1 if less than 2 GB RAM to avoid freezing of virtual machines. ## This does not necessarily belong into security-misc. +## ## Example here: ## https://forums.whonix.org/t/linux-kernel-runtime-guard-lkrg-linux-kernel-runtime-integrity-checking-and-exploit-detection/8477/26 +## +## This might no longer be possible in the future. See: +## "Stop handling dkms.conf as a bash/shell script" +## https://github.com/dell/dkms/issues/414 ENOUGH_RAM="1950" total_ram="$(free -m | sed -n -e '/^Mem:/s/^[^0-9]*\([0-9]*\) .*/\1/p')" if [ "$total_ram" -ge "$ENOUGH_RAM" ]; then