Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
config BR2_PACKAGE_SEMODULE_UTILS
bool "semodule-utils"
depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol
select BR2_PACKAGE_LIBSEPOL
help
semodule-utils is a package that contains tools for handling
selinux modules.
The package will install the following utilities:
* semodule_deps - Show the dependencies between SELinux
policy packages.
* semodule_expand - Expand a SELinux policy module package.
* semodule_link - Link SELinux policy module packages together
* semodule_package - Create a SELinux policy module package.
https://github.com/SELinuxProject/selinux/wiki/Releases
comment "semodule-utils needs a toolchain w/ threads, gcc >= 5"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5

View File

@@ -0,0 +1,5 @@
# https://github.com/SELinuxProject/selinux/wiki/Releases
sha256 1c2f14cc098cbb4d75912d131c5f747e70246e1042e72f2ab40e28f53cf45c10 semodule-utils-3.10.tar.gz
# Hash for license file
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE

View File

@@ -0,0 +1,27 @@
################################################################################
#
# semodule-utils
#
################################################################################
SEMODULE_UTILS_VERSION = 3.10
SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION)
SEMODULE_UTILS_LICENSE = GPL-2.0
SEMODULE_UTILS_LICENSE_FILES = LICENSE
SEMODULE_UTILS_DEPENDENCIES = libsepol
SEMODULE_UTILS_MAKE_OPTS += \
$(TARGET_CONFIGURE_OPTS) \
LIBSEPOLA=$(STAGING_DIR)/usr/lib/libsepol.a
# We need to pass DESTDIR at build time because it's used by
# semodule-utils build system to find headers and libraries.
define SEMODULE_UTILS_BUILD_CMDS
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
endef
define SEMODULE_UTILS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))