mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-25 08:01:09 -05:00
cleanup comments
This commit is contained in:
parent
21efacf1b1
commit
a5eed00eba
@ -1,13 +1,9 @@
|
|||||||
## Copyright (C) 2023 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2023 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
## Lower parallel compilation jobs to 1 if less than 2 GB RAM to avoid freezing
|
## Lower parallel compilation jobs to 1 if less than 2 GB RAM to avoid freezing of virtual machines.
|
||||||
## of virtual machines.
|
## This does not necessarily belong into security-misc.
|
||||||
##
|
## Example here:
|
||||||
## This does not necessarily belong into security-misc, however likely
|
|
||||||
## security-misc will need to modify /etc/dkms/framework.conf in the future to
|
|
||||||
## enable kernel module signing. See below.
|
|
||||||
##
|
|
||||||
## https://forums.whonix.org/t/linux-kernel-runtime-guard-lkrg-linux-kernel-runtime-integrity-checking-and-exploit-detection/8477/26
|
## https://forums.whonix.org/t/linux-kernel-runtime-guard-lkrg-linux-kernel-runtime-integrity-checking-and-exploit-detection/8477/26
|
||||||
ENOUGH_RAM="1950"
|
ENOUGH_RAM="1950"
|
||||||
total_ram="$(free -m | sed -n -e '/^Mem:/s/^[^0-9]*\([0-9]*\) .*/\1/p')"
|
total_ram="$(free -m | sed -n -e '/^Mem:/s/^[^0-9]*\([0-9]*\) .*/\1/p')"
|
||||||
@ -17,9 +13,3 @@ else
|
|||||||
true "INFO: Not enough RAM available. Lowering compilation cores to 1."
|
true "INFO: Not enough RAM available. Lowering compilation cores to 1."
|
||||||
parallel_jobs=1
|
parallel_jobs=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## https://forums.whonix.org/t/enforce-kernel-module-software-signature-verification-module-signing-disallow-kernel-module-loading-by-default/7880/58
|
|
||||||
## https://github.com/dell/dkms/blob/master/sign_helper.sh
|
|
||||||
#sign_tool="/etc/dkms/sign_helper.sh"
|
|
||||||
|
|
||||||
### END modifications by package security-misc ###
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user