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,37 @@
config BR2_PACKAGE_EROFS_UTILS
bool "erofs-utils"
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Userspace utilities for EROFS filesystem
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
if BR2_PACKAGE_EROFS_UTILS
config BR2_PACKAGE_EROFS_UTILS_LZ4
bool "lz4 support"
select BR2_PACKAGE_LZ4
help
Support LZ4 compression algorithm
config BR2_PACKAGE_EROFS_UTILS_LZMA
bool "lzma support"
select BR2_PACKAGE_XZ
help
Support LZMA compression algorithm
config BR2_PACKAGE_EROFS_UTILS_EROFSFUSE
bool "erofsfuse support"
depends on BR2_USE_MMU # libfuse
depends on !BR2_STATIC_LIBS # libfuse
depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
select BR2_PACKAGE_LIBFUSE
help
FUSE file system client for EROFS
comment "erofsfuse needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
endif

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_HOST_EROFS_UTILS
bool "host erofs-utils"
select BR2_PACKAGE_HOST_UTIL_LINUX
help
Userspace utilities for EROFS filesystem
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git

View File

@@ -0,0 +1,5 @@
# Locally computed
sha256 05eb4edebe11decce6ecb34e98d2f80c8cd283c2f2967d8ba7efd58418570514 erofs-utils-1.8.10.tar.gz
sha256 0df042de29b44887355db86c79708a4489ce6e6666f6e33ad02040293f09e6a2 COPYING
sha256 a400f85dd06d230f1b308cde4290a53f345b6e320a376b7904b31c51c2fd4b1a LICENSES/Apache-2.0
sha256 feee3b3157dcdf78d4f50edefbd5dd7adf8b6d52c11bfaaa746a85a373256713 LICENSES/GPL-2.0

View File

@@ -0,0 +1,81 @@
################################################################################
#
# erofs-utils
#
################################################################################
EROFS_UTILS_VERSION = 1.8.10
EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot
EROFS_UTILS_LICENSE = GPL-2.0+, GPL-2.0+ or Apache-2.0 (liberofs)
EROFS_UTILS_LICENSE_FILES = COPYING LICENSES/Apache-2.0 LICENSES/GPL-2.0
# From a git tree: no generated autotools files
EROFS_UTILS_AUTORECONF = YES
EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
EROFS_UTILS_CONF_ENV += LIBS=-latomic
endif
ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y)
EROFS_UTILS_DEPENDENCIES += lz4
EROFS_UTILS_CONF_OPTS += --enable-lz4
else
EROFS_UTILS_CONF_OPTS += --disable-lz4
endif
ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZMA),y)
EROFS_UTILS_DEPENDENCIES += xz
EROFS_UTILS_CONF_OPTS += --enable-lzma
else
EROFS_UTILS_CONF_OPTS += --disable-lzma
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
EROFS_UTILS_CONF_OPTS += --with-selinux
EROFS_UTILS_DEPENDENCIES += libselinux
else
EROFS_UTILS_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y)
EROFS_UTILS_CONF_OPTS += --enable-fuse
EROFS_UTILS_DEPENDENCIES += libfuse
else
EROFS_UTILS_CONF_OPTS += --disable-fuse
endif
ifeq ($(BR2_PACKAGE_LIBDEFLATE),y)
EROFS_UTILS_DEPENDENCIES += libdeflate
EROFS_UTILS_CONF_OPTS += --with-libdeflate
else
EROFS_UTILS_CONF_OPTS += --without-libdeflate
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
EROFS_UTILS_DEPENDENCIES += zlib
EROFS_UTILS_CONF_OPTS += --with-zlib
else
EROFS_UTILS_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
EROFS_UTILS_DEPENDENCIES += zstd
EROFS_UTILS_CONF_OPTS += --with-libzstd
else
EROFS_UTILS_CONF_OPTS += --without-libzstd
endif
HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4 host-xz
HOST_EROFS_UTILS_CONF_OPTS += \
--enable-lz4 \
--enable-lzma \
--disable-fuse \
--without-libdeflate \
--without-libzstd \
--without-selinux \
--without-zlib
$(eval $(autotools-package))
$(eval $(host-autotools-package))