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

11
package/s6-rc/Config.in Normal file
View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_S6_RC
bool "s6-rc"
depends on BR2_USE_MMU # s6
select BR2_PACKAGE_S6
help
s6-rc is a service manager for s6-based systems, i.e. a
suite of programs that can start and stop services, both
long-running daemons and one-time initialization scripts, in
the proper order according to a dependency tree.
http://skarnet.org/software/s6-rc/

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_HOST_S6_RC
bool "host s6-rc"
depends on BR2_PACKAGE_S6_RC
help
This package provides the host variant of the s6-rc tools,
required to build the s6-rc service database offline.
http://skarnet.org/software/s6-rc/

3
package/s6-rc/s6-rc.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally generated
sha256 c3b5f1b8d3acea60a20a59fb25280b69a6aac0bb3afdab21d2edeada77b2df01 s6-rc-0.5.5.0.tar.gz
sha256 75b0b50d7bcb9b2fc174d01442536bce03333da1814df3e61cd6ef8f663548f1 COPYING

72
package/s6-rc/s6-rc.mk Normal file
View File

@@ -0,0 +1,72 @@
################################################################################
#
# s6-rc
#
################################################################################
S6_RC_VERSION = 0.5.5.0
S6_RC_SITE = https://skarnet.org/software/s6-rc
S6_RC_LICENSE = ISC
S6_RC_LICENSE_FILES = COPYING
S6_RC_INSTALL_STAGING = YES
S6_RC_DEPENDENCIES = s6
S6_RC_CONF_OPTS = \
--with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
--with-include=$(STAGING_DIR)/include \
--with-dynlib=$(STAGING_DIR)/lib \
--with-lib=$(STAGING_DIR)/lib/execline \
--with-lib=$(STAGING_DIR)/lib/s6 \
--with-lib=$(STAGING_DIR)/lib/skalibs \
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
$(SHARED_STATIC_LIBS_OPTS)
define S6_RC_CONFIGURE_CMDS
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_RC_CONF_OPTS))
endef
define S6_RC_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define S6_RC_REMOVE_STATIC_LIB_DIR
rm -rf $(TARGET_DIR)/usr/lib/s6-rc
endef
S6_RC_POST_INSTALL_TARGET_HOOKS += S6_RC_REMOVE_STATIC_LIB_DIR
define S6_RC_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
define S6_RC_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
endef
HOST_S6_RC_DEPENDENCIES = host-s6
HOST_S6_RC_CONF_OPTS = \
--prefix=$(HOST_DIR) \
--libexecdir=/usr/libexec \
--with-sysdeps=$(HOST_DIR)/lib/skalibs/sysdeps \
--with-include=$(HOST_DIR)/include \
--with-dynlib=$(HOST_DIR)/lib \
--disable-static \
--enable-shared \
--disable-allstatic
define HOST_S6_RC_CONFIGURE_CMDS
(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure $(HOST_S6_RC_CONF_OPTS))
endef
define HOST_S6_RC_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define HOST_S6_RC_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install-dynlib install-bin
rm -f $(HOST_DIR)/bin/s6-rc-dryrun
endef
$(eval $(generic-package))
$(eval $(host-generic-package))