Include kmod-thermal package into BPI-R4 images

Without that, when CONFIG_ALL_KMODS=y is set, it got an error that
kmod-hwmon-pwmfan  requires kmod-thermal, but it is not available.
This commit is contained in:
Daniel Pawlik
2024-09-09 19:35:44 +02:00
parent 4d85b1805b
commit fa72cb6139
4 changed files with 7 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ jobs:
curl -LO https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/patches/0001-Add-kmod-thermal-for-BPI-R4.patch
git apply --check 0001-Add-kmod-thermal-for-BPI-R4.patch
git am --keep-cr --signoff < 0001-Add-kmod-thermal-for-BPI-R4.patch
#
# - name: Add OpenWRT remote and update
# run: |
# git remote add omain https://github.com/openwrt/openwrt

View File

@@ -26,3 +26,6 @@ CONFIG_PACKAGE_blockd=m
CONFIG_PACKAGE_mtdev=m
CONFIG_PACKAGE_kmod-mtd-rw=y
CONFIG_PACKAGE_kmod-veth=y
# avoid error when: CONFIG_ALL_KMODS=y
CONFIG_PACKAGE_kmod-thermal=y

View File

@@ -27,6 +27,9 @@ CONFIG_PACKAGE_mtdev=m
CONFIG_PACKAGE_kmod-mtd-rw=y
CONFIG_PACKAGE_kmod-veth=y
# avoid error when: CONFIG_ALL_KMODS=y
CONFIG_PACKAGE_kmod-thermal=y
CONFIG_DEVEL=y
CONFIG_TARGET_OPTIONS=y
CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -mcpu=cortex-a73+crc+crypto+rdma"

View File

@@ -1,7 +1,5 @@
#
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/bpi-r4 > .config
# later, eg.:
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/main-router >> .config
#
CONFIG_TARGET_mediatek=y