lxc: group everything under lxc menu

This makes every lxc-* package depend on lxc so that they are grouped
under the lxc menu.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2020-05-22 10:26:21 -03:00 committed by Rosen Penev
parent 29dd78c6fc
commit a826bc17eb
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 7 additions and 10 deletions

View File

@ -46,24 +46,25 @@ define Package/lxc/Default
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=LXC userspace tools TITLE:=LXC userspace tools
URL:=https://linuxcontainers.org/ URL:=https://linuxcontainers.org/
DEPENDS:=@!arc DEPENDS:=lxc
endef endef
define Package/lxc define Package/lxc
$(call Package/lxc/Default) $(call Package/lxc/Default)
DEPENDS:=@!arc
MENU:=1 MENU:=1
endef endef
define Package/lxc-auto define Package/lxc-auto
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:= (initscript) TITLE:= (initscript)
DEPENDS+=lxc-start +lxc-stop DEPENDS+=+lxc-start +lxc-stop
endef endef
define Package/lxc-auto/description define Package/lxc-auto/description
LXC is the userspace control package for Linux Containers, a lightweight LXC is the userspace control package for Linux Containers, a lightweight
virtual system mechanism sometimes described as "chroot on steroids". virtual system mechanism sometimes described as "chroot on steroids".
This package adds and initscript for starting and stopping the containers This package adds an initscript for starting and stopping the containers
on boot and shutdown. on boot and shutdown.
endef endef
@ -99,25 +100,21 @@ endef
define Package/lxc-common define Package/lxc-common
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=LXC common files TITLE:=LXC common files
DEPENDS+= lxc
endef endef
define Package/lxc-hooks define Package/lxc-hooks
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=LXC virtual machine hooks TITLE:=LXC virtual machine hooks
DEPENDS+= lxc
endef endef
define Package/lxc-templates define Package/lxc-templates
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=LXC virtual machine templates TITLE:=LXC virtual machine templates
DEPENDS+= lxc
endef endef
define Package/lxc-configs define Package/lxc-configs
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=LXC virtual machine common config files TITLE:=LXC virtual machine common config files
DEPENDS+= lxc
endef endef
define Package/liblxc define Package/liblxc
@ -125,13 +122,13 @@ define Package/liblxc
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=LXC userspace library TITLE:=LXC userspace library
DEPENDS+= lxc +libcap +libpthread +LXC_SECCOMP:libseccomp +libopenssl DEPENDS+= +libcap +libpthread +LXC_SECCOMP:libseccomp +libopenssl
endef endef
define Package/lxc-init define Package/lxc-init
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=LXC Lua bindings TITLE:=LXC Lua bindings
DEPENDS+= lxc +liblxc DEPENDS+= +liblxc
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
@ -246,7 +243,7 @@ define GenPlugin
define Package/lxc-$(1) define Package/lxc-$(1)
$(call Package/lxc/Default) $(call Package/lxc/Default)
TITLE:=Utility lxc-$(1) from the LXC userspace tools TITLE:=Utility lxc-$(1) from the LXC userspace tools
DEPENDS+= lxc +lxc-common $(2) $(DEPENDS_$(1)) DEPENDS+= +lxc-common $(2) $(DEPENDS_$(1))
endef endef
define Package/lxc-$(1)/install define Package/lxc-$(1)/install