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 <[email protected]>
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
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