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,39 @@
comment "cifs-utils needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_CIFS_UTILS
bool "cifs-utils"
# uses fork(), libtalloc
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS # libtalloc
select BR2_PACKAGE_LIBTALLOC
help
The in-kernel CIFS filesystem is generally the preferred
method for mounting SMB/CIFS shares on Linux. The in-kernel
CIFS filesystem relies on a set of user-space tools. That
package of tools is called cifs-utils. Although not really
part of Samba proper, these tools were originally part of
the Samba package. For several reasons, shipping these tools
as part of Samba was problematic and it was deemed better to
split them off into their own package.
http://wiki.samba.org/index.php/LinuxCIFS_utils
if BR2_PACKAGE_CIFS_UTILS
config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS
bool "smbtools"
depends on BR2_USE_WCHAR # python3
depends on BR2_TOOLCHAIN_HAS_THREADS # python3
depends on !BR2_STATIC_LIBS # python3
select BR2_PACKAGE_PYTHON3 # runtime
help
Install the smb tools smbinfo and smb2-quota (python
implementations).
comment "smbtools needs a toolchain w/ wchar, threads, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
endif

View File

@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
sha256 2f8aae9aa5ddd73fbaf4d61e2e5e19ef54124cbf2810b626820050e7bd2f6606 cifs-utils-7.7.tar.bz2
# Hash for license file:
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING

View File

@@ -0,0 +1,36 @@
################################################################################
#
# cifs-utils
#
################################################################################
CIFS_UTILS_VERSION = 7.7
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
CIFS_UTILS_LICENSE = GPL-3.0+
CIFS_UTILS_LICENSE_FILES = COPYING
CIFS_UTILS_CPE_ID_VENDOR = samba
# Missing install-sh in release tarball
CIFS_UTILS_AUTORECONF = YES
CIFS_UTILS_DEPENDENCIES = host-pkgconf libtalloc
# Let's disable PIE unconditionally. We want PIE to be enabled only by
# the global BR2_RELRO_FULL option.
CIFS_UTILS_CONF_OPTS = --disable-pie --disable-man
# uses C11 code in smbinfo.c and mtab.c
CIFS_UTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu11"
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
CIFS_UTILS_DEPENDENCIES += keyutils
endif
ifeq ($(BR2_PACKAGE_CIFS_UTILS_SMBTOOLS),)
define CIFS_UTILS_REMOVE_SMBTOOLS
rm -f $(TARGET_DIR)/usr/bin/smbinfo
rm -f $(TARGET_DIR)/usr/bin/smb2-quota
endef
CIFS_UTILS_POST_INSTALL_TARGET_HOOKS += CIFS_UTILS_REMOVE_SMBTOOLS
endif
$(eval $(autotools-package))