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,22 @@
config BR2_PACKAGE_CASYNC_NANO
bool "casync-nano"
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_ZSTD
select BR2_PACKAGE_LIBCURL
help
Tiny casync-like tool optimized for embedded systems.
https://github.com/florolf/casync-nano
if BR2_PACKAGE_CASYNC_NANO
config BR2_PACKAGE_CASYNC_NANO_CASYNC_SHIM
bool "install casync shim"
# only one package should provide the "casync" command
depends on !BR2_PACKAGE_CASYNC
help
Install a shim that provides basic compatibility with the
"extract" sub-command of casync to programs that expect it.
endif

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_HOST_CASYNC_NANO
bool "host casync-nano tool"
help
casync-nano host tool (csn-tool) for casync-nano specific
features like chunk encryption.
https://github.com/florolf/casync-nano

View File

@@ -0,0 +1,3 @@
# locally calculated
sha256 1a8ce3247985e05fbb08097966ff11fc2abd0a1f18fb7178e7397c2455b9500f casync-nano-1.1.2.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING

View File

@@ -0,0 +1,30 @@
################################################################################
#
# casync-nano
#
################################################################################
CASYNC_NANO_VERSION = 1.1.2
CASYNC_NANO_SITE = $(call github,florolf,casync-nano,v$(CASYNC_NANO_VERSION))
CASYNC_NANO_LICENSE = LGPL-2.1
CASYNC_NANO_LICENSE_FILES = COPYING
CASYNC_NANO_DEPENDENCIES = host-pkgconf openssl zstd libcurl
ifeq ($(BR2_PACKAGE_CASYNC_NANO_CASYNC_SHIM),y)
define CASYNC_NANO_INSTALL_CASYNC_SHIM
ln -sf csn $(TARGET_DIR)/usr/bin/casync
endef
endif
define CASYNC_NANO_INSTALL_TARGET_CMDS
$(INSTALL) -D -m0755 $(@D)/csn $(TARGET_DIR)/usr/bin/csn
$(CASYNC_NANO_INSTALL_CASYNC_SHIM)
endef
# We're only building csn-tool for the host, so only openssl is
# needed, not the other dependencies
HOST_CASYNC_NANO_DEPENDENCIES = host-pkgconf host-openssl
HOST_CASYNC_NANO_CONF_OPTS = -DBUILD_CSN=Off -DBUILD_CSN_TOOL=On
$(eval $(cmake-package))
$(eval $(host-cmake-package))