mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 17:36:12 +02:00
firewall4: prefer over firewall as dependency
When the virtual package "uci-firewall" is installed, the choice between "firewall" and "firewall4" is arbitrary, sometimes resulting in one, sometimes the other. Set the default variant on "firewall4" to make it the preferred package when installed as a dependency. Link: https://forum.openwrt.org/t/owut-openwrt-upgrade-tool/200035/1126 Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22328 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
e558d763be
commit
5d71d9a4be
@ -5,7 +5,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=firewall4
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/firewall4.git
|
||||
@ -28,6 +28,7 @@ define Package/firewall4
|
||||
+ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-uci
|
||||
EXTRA_DEPENDS:=ucode (>=2022.03.22)
|
||||
PROVIDES:=uci-firewall
|
||||
DEFAULT_VARIANT:=1
|
||||
endef
|
||||
|
||||
define Package/firewall4/description
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user