From fa400b65d6ce2e67421dfae2831e0ab644651a74 2018-11-18 18:33:43 From: Unknown Date: 2018-11-18 18:33:43 Subject: [PATCH] fix --- diff --git a/README.md b/README.md index dd8a737..1ea7d06 100644 --- a/README.md +++ b/README.md @@ -329,6 +329,18 @@ With this parameter set to true the script expects the existing kernel sources d ##### `RPI_FIRMWARE_DIR`="" The directory (`firmware`) containing a local copy of the firmware from the [RaspberryPi firmware project](https://github.com/raspberrypi/firmware). Default is to download the latest firmware directly from the project. +##### `KERNEL_NF`=false +Enable Netfilter modules as kernel modules (systemd compilations about it (File /lib/systemd/system/systemd-journald.server:36 configures an IP firewall (IPAddressDeny=all), but the local system does not support BPF/cgroup based firewalls) + +##### `KERNEL_VIRT`=false +Enable Kernel KVM support (/dev/kvm) + +##### `KERNEL_ZSWAP`=false +Enable Kernel Zswap support. Best use on high RAM load and mediocre CPU load usecases + + + + --- #### Reduce disk usage: diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index 9f08c90..ac71407 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -103,10 +103,6 @@ if [ "$BUILD_KERNEL" = true ] ; then fi if [ "$KERNEL_VIRT" = true ] && ( [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ) ; then - # Submit PRs with edits targeting the _bottom_ of this file - # Please set modules where possible, rather than building in, and - # provide a short rationale comment for the changes made - # enable basic KVM support; see e.g. # https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453