fix autoupdate config target
This commit is contained in:
parent
5f897afd41
commit
b327ffddd6
|
|
@ -0,0 +1,11 @@
|
|||
# AI Modification Log: Autoupdate Config Target
|
||||
|
||||
Date: 2026-06-29
|
||||
|
||||
## Change
|
||||
|
||||
- Updated `Scripts/AutoBuild_Function.sh` so `CONFIG_PACKAGE_luci-app-autoupdate=y` is appended to `${CONFIG_TEMP}`.
|
||||
|
||||
## Reason
|
||||
|
||||
`Firmware_Diy_Main` runs after changing into the OpenWrt worktree. Appending to `${CONFIG_FILE}` can create or edit a file named after the config profile inside `openwrt`; `${CONFIG_TEMP}` points to the active `.config` generated for the build.
|
||||
|
|
@ -130,7 +130,7 @@ Firmware_Diy_Main() {
|
|||
if [[ ${AutoBuild_Features} == true ]]
|
||||
then
|
||||
AddPackage git other AutoBuild-Packages xopenwrt master
|
||||
echo -e "\nCONFIG_PACKAGE_luci-app-autoupdate=y" >> ${CONFIG_FILE}
|
||||
echo -e "\nCONFIG_PACKAGE_luci-app-autoupdate=y" >> ${CONFIG_TEMP}
|
||||
for i in ${GITHUB_ENV} $(PKG_Finder d package AutoBuild-Packages)/autoupdate/files/etc/autoupdate/default
|
||||
do
|
||||
cat >> ${i} <<EOF
|
||||
|
|
|
|||
Loading…
Reference in New Issue