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 a3d0b97c8f
commit 387dfc6233
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
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