This commit is contained in:
Miguel Fuertes committed 2025-09-17 22:33:08 +02:00
1 parent ab010f0210
commit 133bddab8c
4 files changed
+23 -25

No files matched your search

+3 -2
View File
@@ -17,7 +17,7 @@ define Package/$(PKG_NAME)
SECTION:=Utilities
CATEGORY:=Utilities
TITLE:=Defaults Setting For uz801v3
DEPENDS:=+rootfs-resizer +PACKAGE_luci:luci-proto-modemmanager +kmod-usb-lib-composite +rmtfs +opkg
DEPENDS:=+rootfs-resizer +PACKAGE_luci:luci-proto-modemmanager +kmod-usb-lib-composite +rmtfs
endef
define Build/Configure
@@ -28,7 +28,8 @@ endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/uci-defaults $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/uci_defaults $(1)/etc/uci-defaults/98-default-config
$(INSTALL_BIN) ./files/remove_feed $(1)/etc/uci-defaults/99-remove-bad-feed
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# /etc/uci-defaults/99-remove-bad-feed
REPO_FILE="/etc/apk/repositories.d/distfeeds.list"
BAD_FEED="https://downloads.openwrt.org/snapshots/targets/msm89xx/msm8916/packages/packages.adb"
if [ -f "$REPO_FILE" ]; then
sed -i "\|$BAD_FEED|d" "$REPO_FILE"
fi
exit 0