Trying to add NVME kernel options

This commit is contained in:
Lee Miller 2023-11-04 02:48:25 +02:00
parent e889c5ddde
commit c60e33bc8f
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,13 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
git apply ${pwd}/patches/i2c-tools-revert.patch
echo "CONFIG_HWMON=y" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
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