Edit the kernel config template - add HWMON and NVME

This commit is contained in:
Lee Miller 2023-06-18 18:57:55 +03:00
parent 2b5cbe32df
commit f060aef9c5
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -28,6 +28,14 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
git apply ${pwd}/patches/i2c-tools-revert.patch
cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
CONFIG_HWMON=y
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_HWMON=y
CONFIG_NVME_MULTIPATH=n
EOF
make defconfig
# Enable collectd network encryption
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config