From 6629c520420b5162a079400862bf1b554abaf292 Mon Sep 17 00:00:00 2001 From: optout Date: Sun, 3 Mar 2024 18:37:09 +0000 Subject: [PATCH] Update naming schema | WIP warning with virt_hardened --- README.md | 4 ++-- 6.6.18-hardened1.config => host_hardened.config | 0 self_compilation.sh | 4 +++- linux_virt_hardened.config => virt_hardened.config | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename 6.6.18-hardened1.config => host_hardened.config (100%) rename linux_virt_hardened.config => virt_hardened.config (100%) diff --git a/README.md b/README.md index 4d7b7dc..e427aea 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ The script performs a variety of functions: - Remove unnecessary artifacts such as System.map & signing keys ### Steps to self-compile -1. Set the KVER variable to which version you want to obtain from Anthraxx's [linux-hardened](https://github.com/anthraxx/linux-hardened) repository -2. Run `bash self_compilation.sh` +1. Run `bash self_compilation.sh` +2. Set the Kernel version (KVER) variable to a released version you want to obtain from Anthraxx's [linux-hardened](https://github.com/anthraxx/linux-hardened/releases) repository > Note: If you are planning on mapping modules used by your system when prompted via the script, we highly recommend that you access peripherals such as Webcams, adapters, USBs, protocols such as Bluetooth prior to running the script, if they are desired. diff --git a/6.6.18-hardened1.config b/host_hardened.config similarity index 100% rename from 6.6.18-hardened1.config rename to host_hardened.config diff --git a/self_compilation.sh b/self_compilation.sh index 2bd9542..4bdebc0 100644 --- a/self_compilation.sh +++ b/self_compilation.sh @@ -60,7 +60,9 @@ fi cd /usr/src/linux-hardened-"$KVER" # Pull down plague kconfig -wget https://0xacab.org/optout/plague-kernel/-/raw/main/6.6.18-hardened1.config -O .config +wget https://0xacab.org/optout/plague-kernel/-/raw/main/host_hardened.config -O .config +# wget https://0xacab.org/optout/plague-kernel/-/raw/main/virt_hardened.config -O .config +## virt_hardened.config is still a WIP # Prompt if baseline Plague kernel is desired ## If not, proceed to fingerprint device diff --git a/linux_virt_hardened.config b/virt_hardened.config similarity index 100% rename from linux_virt_hardened.config rename to virt_hardened.config