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,12 @@
config BR2_PACKAGE_SUPERVISOR
bool "supervisor"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency
help
A client/server system that allows its users to control a
number of processes on UNIX-like operating systems.
http://supervisord.org/
comment "supervisor needs a python interpreter"
depends on !BR2_PACKAGE_PYTHON3

View File

@@ -0,0 +1,29 @@
#!/bin/sh
mkdir -p /var/log/supervisor
case "$1" in
start)
printf "Starting supervisord: "
start-stop-daemon -S -q -p /var/run/supervisord.pid --exec /usr/bin/supervisord
echo "done"
;;
stop)
printf "Stopping supervisord: "
start-stop-daemon -K -q -p /var/run/supervisord.pid
echo "done"
;;
restart)
"$0" stop
sleep 5
"$0" start
;;
reload)
start-stop-daemon -K -q -p /var/run/supervisord.pid -s HUP
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac
exit $?

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 34761bae1a23c58192281a5115fb07fbf22c9b0133c08166beffc70fed3ebc12 supervisor-4.2.5.tar.gz
sha256 4c35fda9f70bb7883fd94e5a4d5addd88ad1a6d5d15e21c9d17c4d96fdc5e369 LICENSES.txt

View File

@@ -0,0 +1,32 @@
################################################################################
#
# supervisor
#
################################################################################
SUPERVISOR_VERSION = 4.2.5
SUPERVISOR_SITE = https://files.pythonhosted.org/packages/ce/37/517989b05849dd6eaa76c148f24517544704895830a50289cbbf53c7efb9
SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa)
SUPERVISOR_LICENSE_FILES = LICENSES.txt
SUPERVISOR_CPE_ID_VENDOR = supervisord
SUPERVISOR_SETUP_TYPE = setuptools
define SUPERVISOR_INSTALL_CONF_FILES
$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d
$(INSTALL) -D -m 644 package/supervisor/supervisord.conf \
$(TARGET_DIR)/etc/supervisord.conf
endef
SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES
define SUPERVISOR_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/supervisor/S99supervisord \
$(TARGET_DIR)/etc/init.d/S99supervisord
endef
define SUPERVISOR_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/supervisor/supervisord.service \
$(TARGET_DIR)/usr/lib/systemd/system/supervisord.service
endef
$(eval $(python-package))

View File

@@ -0,0 +1,18 @@
[unix_http_server]
file = /var/run/supervisor.sock
[supervisord]
logfile = /var/log/supervisor/supervisord.log
logfile_maxbytes = 200KB
logfile_backups = 1
pidfile = /var/run/supervisord.pid
childlogdir = /var/log/supervisor
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl = unix:///var/run/supervisor.sock
[include]
files = /etc/supervisor.d/*.conf

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Process Control System
After=syslog.target
[Service]
ExecStart=/usr/bin/supervisord -n
Restart=always
[Install]
WantedBy=multi-user.target