From 682120bd8eb1e96b9f2ab0ce067142df99bb6bd1 2019-10-23 21:12:04 From: Unknown Date: 2019-10-23 21:12:04 Subject: [PATCH] fixes --- diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index 0355ffe..7f94ad2 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -150,7 +150,7 @@ if [ "$BUILD_KERNEL" = true ] ; then set_kernel_config CONFIG_LZO_COMPRESS y fi - if [ RPI_MODEL = 4 ] ; then + if [ "$RPI_MODEL" = 4 ] ; then # Following are set in current 32-bit LPAE kernel set_kernel_config CONFIG_CGROUP_PIDS y set_kernel_config CONFIG_NET_IPVTI m @@ -369,6 +369,7 @@ if [ "$BUILD_KERNEL" = true ] ; then set_kernel_config CONFIG_CEPH_FSCACHE y set_kernel_config CONFIG_CEPH_FS_POSIX_ACL y set_kernel_config CONFIG_BLK_DEV_RBD m + fi # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453 if [ "$KERNEL_VIRT" = true ] && { [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] || [ "$RPI_MODEL" = 4 ]; } ; then