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,8 @@
config BR2_PACKAGE_HOST_COMPOSER
bool "host composer"
help
Composer is a tool for dependency management in PHP. It
allows you to declare the libraries your project depends on
and it will manage (install/update) them for you.
https://getcomposer.org/

View File

@@ -0,0 +1,4 @@
# Hash from https://getcomposer.org/download/
sha256 f07934fad44f9048c0dc875a506cca31cc2794d6aebfc1867f3b1fbf48dce2c5 composer-2.5.8.phar
# Locally calculated
sha256 c8cce4b6b9729f264ffdf9296d505d63432497feeed1f586d1902b942197e024 LICENSE

View File

@@ -0,0 +1,33 @@
################################################################################
#
# composer
#
################################################################################
COMPOSER_VERSION = 2.5.8
COMPOSER_SOURCE = composer-$(COMPOSER_VERSION).phar
# Here, we pass a dummy URL parameter in order to control the name the file
# will have once downloaded.
# Otherwise, the names will clash ifever we update the version.
COMPOSER_BASE_SITE = https://getcomposer.org/download/$(COMPOSER_VERSION)/composer.phar
COMPOSER_SITE = $(COMPOSER_BASE_SITE)?n=f/$(COMPOSER_SOURCE)
COMPOSER_LICENSE = MIT
COMPOSER_LICENSE_FILES = LICENSE
COMPOSER_CPE_ID_VENDOR = getcomposer
HOST_COMPOSER_DEPENDENCIES = host-php
HOST_COMPOSER_EXTRACT_DEPENDENCIES = host-php
define HOST_COMPOSER_EXTRACT_CMDS
cp $(HOST_COMPOSER_DL_DIR)/$(COMPOSER_SOURCE) $(@D)
cd $(@D); $(HOST_DIR)/bin/php <<< '<?php \
$$p = new Phar("$(COMPOSER_SOURCE)"); \
$$p->extractTo(".", "LICENSE");'
endef
define HOST_COMPOSER_INSTALL_CMDS
mv $(@D)/$(COMPOSER_SOURCE) $(HOST_DIR)/bin/composer
chmod +x $(HOST_DIR)/bin/composer
endef
$(eval $(host-generic-package))