mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #8990 from cotequeiroz/lxc_recursive
lxc, libsseccomp: workaround recursive dependency
This commit is contained in:
@@ -26,6 +26,11 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
# This is done instead of DEPENDS:=@!arc to avoid a recursive dependency when
|
||||||
|
# the library is conditionally selected by util/lxc.
|
||||||
|
define Package/libseccomp/config
|
||||||
|
depends on !arc
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libseccomp/Default
|
define Package/libseccomp/Default
|
||||||
SUBMENU:=
|
SUBMENU:=
|
||||||
@@ -33,7 +38,6 @@ define Package/libseccomp/Default
|
|||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=seccomp
|
TITLE:=seccomp
|
||||||
URL:=https://github.com/seccomp/libseccomp/wiki
|
URL:=https://github.com/seccomp/libseccomp/wiki
|
||||||
DEPENDS:=@!arc
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libseccomp/Default/description
|
define Package/libseccomp/Default/description
|
||||||
@@ -47,7 +51,6 @@ endef
|
|||||||
define Package/libseccomp
|
define Package/libseccomp
|
||||||
$(call Package/libseccomp/Default)
|
$(call Package/libseccomp/Default)
|
||||||
TITLE+= (library)
|
TITLE+= (library)
|
||||||
DEPENDS+=
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/scmp_sys_resolver
|
define Package/scmp_sys_resolver
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ config LXC_BUSYBOX_OPTIONS
|
|||||||
config LXC_SECCOMP
|
config LXC_SECCOMP
|
||||||
bool "Enable support for seccomp in LXC"
|
bool "Enable support for seccomp in LXC"
|
||||||
default KERNEL_SECCOMP
|
default KERNEL_SECCOMP
|
||||||
|
depends on !arc
|
||||||
help
|
help
|
||||||
Build LXC with support for seccomp filters.
|
Build LXC with support for seccomp filters.
|
||||||
Select libseccomp which also pulls-in the needed kernel features.
|
Select libseccomp which also pulls-in the needed kernel features.
|
||||||
|
|||||||
Reference in New Issue
Block a user