From: Hannu Nyman Date: Sat, 15 Mar 2025 19:33:22 +0000 (+0200) Subject: coreutils: Adjust coreutils dependency in each app to be selective X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=82852a9f158e7e1a4dff48cc10016f1b2fba2e17;p=feed%2Fpackages.git coreutils: Adjust coreutils dependency in each app to be selective Adjust the dependency to the virtual coreutils main package in each app to be selective. Otherwise you need to first select the main coreutils before the actuall apps can be selected. That has prevented other applications from depending on just one individual coreutils app, as they have needed to depend also on the empty main coreutils package. Reference to discussion in: https://github.com/openwrt/luci/issues/7605 Signed-off-by: Hannu Nyman --- diff --git a/utils/coreutils/Makefile b/utils/coreutils/Makefile index ace65675e6..8e6bf8b097 100644 --- a/utils/coreutils/Makefile +++ b/utils/coreutils/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coreutils PKG_VERSION:=9.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/coreutils @@ -95,7 +95,7 @@ endef define GenPlugin define Package/$(1) $(call Package/coreutils/Default) - DEPENDS:=coreutils $(DEPENDS_$(2)) + DEPENDS:=+coreutils $(DEPENDS_$(2)) TITLE:=Utility $(2) from the GNU core utilities ALTERNATIVES:=$(ALTS_$(2)) endef