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,27 @@
config BR2_PACKAGE_LIBOSTREE
bool "libostree"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme, libgpg-error
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
depends on BR2_USE_MMU # e2fsprogs, libglib2, libgpgme
# doesn't build with musl due to lack of TEMP_FAILURE_RETRY()
depends on !BR2_TOOLCHAIN_USES_MUSL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 # loop_config
select BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_LIBARCHIVE if BR2_s390x
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGPG_ERROR
select BR2_PACKAGE_LIBGPGME
select BR2_PACKAGE_XZ
help
OSTree is an upgrade system for Linux-based operating
systems.
https://ostree.readthedocs.io/en/latest/
comment "libostree needs a uClibc or glibc toolchain w/ threads, dynamic library, wchar, headers >= 5.8"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|| !BR2_USE_WCHAR || BR2_TOOLCHAIN_USES_MUSL || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on BR2_USE_MMU

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 b6fffc267188e40d60755e6d7f2be65831795baa53b0fd9dd6c6809c7e54796d libostree-2023.8.tar.xz
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING

View File

@@ -0,0 +1,92 @@
################################################################################
#
# libostree
#
################################################################################
LIBOSTREE_VERSION = 2023.8
LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz
LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION)
LIBOSTREE_LICENSE = LGPL-2.0+
LIBOSTREE_LICENSE_FILES = COPYING
LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libglib2 libgpg-error libgpgme xz
LIBOSTREE_INSTALL_STAGING = YES
LIBOSTREE_CONF_ENV = \
GPG_ERROR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config
LIBOSTREE_CONF_OPTS += \
--with-gpgme-prefix=$(STAGING_DIR)/usr \
--without-soup \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-man
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBOSTREE_DEPENDENCIES += gobject-introspection
LIBOSTREE_CONF_OPTS += --enable-introspection
LIBOSTREE_MAKE_OPTS = INTROSPECTION_SCANNER_ENV=
else
LIBOSTREE_CONF_OPTS += --disable-introspection
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBOSTREE_CONF_OPTS += --with-openssl
LIBOSTREE_DEPENDENCIES += openssl
else
LIBOSTREE_CONF_OPTS += --without-openssl
endif
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
LIBOSTREE_CONF_OPTS += --with-avahi
LIBOSTREE_DEPENDENCIES += avahi
else
LIBOSTREE_CONF_OPTS += --without-avahi
endif
# cURL support depends on libsoup3
ifeq ($(BR2_PACKAGE_LIBSOUP3),y)
LIBOSTREE_CONF_OPTS += --with-soup3
LIBOSTREE_DEPENDENCIES += libsoup3
ifeq ($(BR2_PACKAGE_LIBCURL),y)
LIBOSTREE_CONF_OPTS += --with-curl
LIBOSTREE_DEPENDENCIES += libcurl
else
LIBOSTREE_CONF_OPTS += --without-curl
endif
else
LIBOSTREE_CONF_OPTS += --without-soup3 --without-curl
endif
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
LIBOSTREE_CONF_OPTS += --with-libarchive
LIBOSTREE_DEPENDENCIES += libarchive
else
LIBOSTREE_CONF_OPTS += --without-libarchive
endif
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
LIBOSTREE_CONF_OPTS += --enable-rofiles-fuse
LIBOSTREE_DEPENDENCIES += libfuse
else
LIBOSTREE_CONF_OPTS += --disable-rofiles-fuse
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
LIBOSTREE_CONF_OPTS += --with-selinux
LIBOSTREE_DEPENDENCIES += libselinux
else
LIBOSTREE_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_INIT_SYSTEMD),y)
LIBOSTREE_CONF_OPTS += \
--with-libsystemd \
--with-systemdsystemunitdir=/usr/lib/systemd/system
LIBOSTREE_DEPENDENCIES += systemd
else
LIBOSTREE_CONF_OPTS += --without-libsystemd
endif
$(eval $(autotools-package))