From 5ac163cd188bbd54eb939084cd6177fb30c39820 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:35:48 +0800 Subject: [PATCH] Update imagebuilder.patch --- devices/common/patches/imagebuilder.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/common/patches/imagebuilder.patch b/devices/common/patches/imagebuilder.patch index ad4306e4ec78..a46105b00ec0 100644 --- a/devices/common/patches/imagebuilder.patch +++ b/devices/common/patches/imagebuilder.patch @@ -116,7 +116,7 @@ + BUILD_PACKAGES += -luci-app-homeproxy -luci-app-istorex -luci-theme-argon + endif +else -+ $(shell sed -i "/small_flash/d" $(TOPDIR)/repositories.conf) ++ $(shell sed -i "/small_flash/d" $(TOPDIR)/repositories.conf) +endif +define add_zh_cn_packages +$(eval BUILD_PACKAGES += $(foreach pkg,$(BUILD_PACKAGES),$(if $(and $(filter luci-app-%,$(pkg)),$(shell $(OPKG) list | grep -q "^luci-i18n-$(patsubst luci-app-%,%,$(pkg))-zh-cn" && echo 1)),luci-i18n-$(patsubst luci-app-%,%,$(pkg))-zh-cn))) @@ -166,7 +166,7 @@ endif $(call prepare_rootfs,$(TARGET_DIR),$(USER_FILES),$(DISABLED_SERVICES)) + $(if $(SMALL_FLASH), \ -+ $(shell echo "`grep kwrt_kiddin9 $(TOPDIR)/repositories.conf | sed -e 's/kiddin9/small_flash/g'`" >>$(BUILD_DIR)/root-*/etc/opkg/distfeeds.conf) \ ++ $(shell echo "`grep kwrt_kiddin9 $(TOPDIR)/repositories.conf | sed -e 's/kiddin9/small_flash/g'`" >>$(BUILD_DIR)/root-*/etc/opkg/distfeeds.conf) \ + ) build_image: FORCE