fix: select LuCI translations through CONFIG_ALL

This commit is contained in:
2026-07-30 22:52:45 +03:00
parent 511786f1df
commit 39effc64e4
+2 -4
View File
@@ -142,9 +142,8 @@ RUN rm -rf tmp/info \
tmp/.packageinfo tmp/.packageinfo
RUN printf '%s\n' \ RUN printf '%s\n' \
'CONFIG_ALL=y' \
'CONFIG_PACKAGE_luci-app-rmm-agent=m' \ 'CONFIG_PACKAGE_luci-app-rmm-agent=m' \
'CONFIG_LUCI_LANG_ru=y' \
'CONFIG_PACKAGE_luci-i18n-rmm-agent-ru=m' \
>> .config \ >> .config \
&& make defconfig \ && make defconfig \
&& awk ' \ && awk ' \
@@ -161,8 +160,7 @@ RUN printf '%s\n' \
' .config > .config.packages-pruned \ ' .config > .config.packages-pruned \
&& mv .config.packages-pruned .config \ && mv .config.packages-pruned .config \
&& sed -i \ && sed -i \
-e 's/^CONFIG_PACKAGE_luci-app-rmm-agent=y$/CONFIG_PACKAGE_luci-app-rmm-agent=m/' \ -e 's/^CONFIG_ALL=y$/# CONFIG_ALL is not set/' \
-e 's/^CONFIG_PACKAGE_luci-i18n-rmm-agent-ru=y$/CONFIG_PACKAGE_luci-i18n-rmm-agent-ru=m/' \
.config \ .config \
&& grep -q '^CONFIG_PACKAGE_luci-app-rmm-agent=m$' .config \ && grep -q '^CONFIG_PACKAGE_luci-app-rmm-agent=m$' .config \
&& grep -q '^CONFIG_PACKAGE_luci-i18n-rmm-agent-ru=m$' .config && grep -q '^CONFIG_PACKAGE_luci-i18n-rmm-agent-ru=m$' .config