initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_BUBBLEWRAP
|
||||
bool "bubblewrap"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
help
|
||||
Unprivileged sandbox tool based on Linux namespaces.
|
||||
|
||||
https://github.com/projectatomic/bubblewrap
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/containers/bubblewrap/releases/tag/v0.5.0
|
||||
sha256 16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818 bubblewrap-0.5.0.tar.xz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# bubblewrap
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BUBBLEWRAP_VERSION = 0.5.0
|
||||
BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)
|
||||
BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz
|
||||
BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap
|
||||
|
||||
BUBBLEWRAP_LICENSE = LGPL-2.0+
|
||||
BUBBLEWRAP_LICENSE_FILES = COPYING
|
||||
BUBBLEWRAP_CPE_ID_VENDOR = projectatomic
|
||||
|
||||
BUBBLEWRAP_CONF_OPTS = \
|
||||
--enable-require-userns=no \
|
||||
--disable-man \
|
||||
--disable-sudo \
|
||||
--with-priv-mode=none
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
||||
BUBBLEWRAP_CONF_OPTS += --with-bash-completion-dir=/usr/share/bash-completion/completions
|
||||
else
|
||||
BUBBLEWRAP_CONF_OPTS += --without-bash-completion-dir
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
BUBBLEWRAP_CONF_OPTS += --enable-selinux
|
||||
BUBBLEWRAP_DEPENDENCIES += libselinux
|
||||
else
|
||||
BUBBLEWRAP_CONF_OPTS += --disable-selinux
|
||||
endif
|
||||
|
||||
# We need to mark bwrap as setuid, in case the kernel
|
||||
# has user namespaces disabled for non-root users.
|
||||
define BUBBLEWRAP_PERMISSIONS
|
||||
/usr/bin/bwrap f 1755 0 0 - - - - -
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user