diff --git a/yellow/.gitignore b/yellow/.gitignore deleted file mode 100644 index 563f8ef..0000000 --- a/yellow/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -portage/*/etc/portage/make.profile -portage/*/etc/portage/repos.conf -portage/target/etc/portage/make.conf/10-crossdev.conf diff --git a/yellow/build.packages b/yellow/build.packages deleted file mode 100644 index 3a5cf6b..0000000 --- a/yellow/build.packages +++ /dev/null @@ -1 +0,0 @@ -sys-boot/grub diff --git a/yellow/busybox.symlinks b/yellow/busybox.symlinks deleted file mode 100644 index 4994e8c..0000000 --- a/yellow/busybox.symlinks +++ /dev/null @@ -1,62 +0,0 @@ -basename -cat -chcon -cp -dd -df -du -echo -env -false -free -fsync -fuser -grep -groups -head -id -install -ip -kill -less -link -ln -ls -lsof -mkdir -mkfifo -mktemp -mv -nice -nproc -pgrep -ping -ping6 -pkill -ppidof -printf -ps -readahead -readlink -realpath -rm -rmdir -sed -seq -sh -sha1sum -sha256sum -sha3sum -sha512sum -sort -stat -stty -sync -tac -tail -tar -tee -truncate -tty -uname -uptime diff --git a/yellow/config b/yellow/config deleted file mode 100644 index 703589c..0000000 --- a/yellow/config +++ /dev/null @@ -1,5 +0,0 @@ -target=aarch64-unknown-linux-gnu -profile=default/linux/arm64/17.0/systemd/selinux/merged-usr -kernel_pkg=sys-kernel/raspberrypi-sources -kernel_defconfig=bcm2835 -device_tree=broadcom/bcm2711-rpi-cm4-ha-yellow.dtb diff --git a/yellow/config.txt b/yellow/config.txt deleted file mode 100644 index 4e6edf6..0000000 --- a/yellow/config.txt +++ /dev/null @@ -1,17 +0,0 @@ -arm_64bit=1 - -start_x=1 - -bootcode_delay=0 -boot_delay=0 - -gpu_mem=32 - -kernel=u-boot.bin - -enable_uart=1 -dtoverlay=miniuart-bt - -dtparam i2c_arm=on - -device_tree=bcm2711-rpi-cm4-ha-yellow.dtb diff --git a/yellow/install.packages b/yellow/install.packages deleted file mode 100644 index eb4a49e..0000000 --- a/yellow/install.packages +++ /dev/null @@ -1,4 +0,0 @@ -acct-group/nginx -acct-user/nginx -app-backup/burp -app-containers/podman diff --git a/yellow/installonly.packages b/yellow/installonly.packages deleted file mode 100644 index 6919839..0000000 --- a/yellow/installonly.packages +++ /dev/null @@ -1,2 +0,0 @@ -net-wireless/wireless-regdb -sys-kernel/linux-firmware diff --git a/yellow/linux.config b/yellow/linux.config deleted file mode 100644 index a8fb662..0000000 --- a/yellow/linux.config +++ /dev/null @@ -1,61 +0,0 @@ -CONFIG_BTRFS_FS=y - -CONFIG_OVERLAY_FS=m - -CONFIG_MISC_FILESYSTEMS=y -CONFIG_SQUASHFS=y -CONFIG_SQUASHFS_XATTR=y -CONFIG_SQUASHFS_ZSTD=y - -CONFIG_EFI=y -CONFIG_EFI_STUB=y - -CONFIG_PCI=y -CONFIG_PCIE_BRCMSTB=y -CONFIG_BLK_DEV_NVME=y - -CONFIG_FW_LOADER_COMPRESS=y - -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=m -CONFIG_I2C_MUX=m -CONFIG_I2C_MUX_GPMUX=m -CONFIG_I2C_MUX_PINCTRL=m -CONFIG_I2C_BCM2708=m -CONFIG_I2C_BCM2835=m -CONFIG_I2C_BRCMSTB=m - -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_PCF85063=m - -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_DISK=y -CONFIG_LEDS_TRIGGER_ACTIVITY=y - -CONFIG_WLAN=y -CONFIG_WLAN_VENDOR_BROADCOM=y -CONFIG_CFG80211=m -CONFIG_MAC80211=m -CONFIG_BRCM_FMAC=m -CONFIG_BT=m - -# CONFIG_KSM is not set - -CONFIG_IPV6=y -CONFIG_IPV6_SIT=m -CONFIG_IPV6_SIT_6RD=m - -# CONFIG_MEDIA_CEC_SUPPORT is not set -# CONFIG_MEDIA_SUPPORT is not set - -CONFIG_AUDIT=y -CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_SELINUX=y -CONFIG_DEFAULT_SECURITY_SELINUX=y -# DEFAULT_SECURITY_DAC is not set - -CONFIG_POSIX_MQUEUE=y -CONFIG_MEMCG=y -CONFIG_CGROUP_PIDS=y -CONFIG_BLK_CGROUP=y diff --git a/yellow/overlay/etc/aimee-os/writable-etc b/yellow/overlay/etc/aimee-os/writable-etc deleted file mode 100644 index cc481d9..0000000 --- a/yellow/overlay/etc/aimee-os/writable-etc +++ /dev/null @@ -1,3 +0,0 @@ -d burp -d mosquitto -d nginx/ssl diff --git a/yellow/overlay/etc/containers/policy.json b/yellow/overlay/etc/containers/policy.json deleted file mode 100644 index 7ed16d6..0000000 --- a/yellow/overlay/etc/containers/policy.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "default": [ - { - "type": "insecureAcceptAnything" - } - ], - "transports": { - "docker": { - "registry.access.redhat.com": [ - { - "type": "signedBy", - "keyType": "GPGKeys", - "keyPath": "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release" - } - ], - "registry.redhat.io": [ - { - "type": "signedBy", - "keyType": "GPGKeys", - "keyPath": "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release" - } - ] - }, - "docker-daemon": { - "": [ - { - "type": "insecureAcceptAnything" - } - ] - } - } -} diff --git a/yellow/overlay/etc/containers/registries.conf b/yellow/overlay/etc/containers/registries.conf deleted file mode 100644 index bf4c657..0000000 --- a/yellow/overlay/etc/containers/registries.conf +++ /dev/null @@ -1 +0,0 @@ -unqualified-search-registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org'] diff --git a/yellow/overlay/etc/containers/systemd/home-assistant.container b/yellow/overlay/etc/containers/systemd/home-assistant.container deleted file mode 100644 index 84404f5..0000000 --- a/yellow/overlay/etc/containers/systemd/home-assistant.container +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -After=network-online.target -Wants=network-online.target - -[Container] -Image=ghcr.io/home-assistant/yellow-homeassistant:stable -Network=host -Volume=/var/lib/homeassistant:/config:Z -User=300 -Group=300 -ReadOnly=true -VolatileTmp=yes - -[Service] -TimeoutStartSec=5min -UMask=0077 - -[Install] -WantedBy=multi-user.target diff --git a/yellow/overlay/etc/containers/systemd/mosquitto.container b/yellow/overlay/etc/containers/systemd/mosquitto.container deleted file mode 100644 index 5042f29..0000000 --- a/yellow/overlay/etc/containers/systemd/mosquitto.container +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -After=network-online.target -Wants=network-online.target - -[Container] -Image=docker.io/library/eclipse-mosquitto:latest -Network=host -Volume=/etc/mosquitto:/mosquitto/config:Z -Volume=/var/lib/mosquitto:/mosquitto/data:Z -Volume=/var/log/mosquitto:/mosquitto/log:Z -User=301 -Group=301 -ReadOnly=true - -[Service] -UMask=0077 - -[Install] -WantedBy=multi-user.target diff --git a/yellow/overlay/etc/containers/systemd/nginx.container b/yellow/overlay/etc/containers/systemd/nginx.container deleted file mode 100644 index 422fabd..0000000 --- a/yellow/overlay/etc/containers/systemd/nginx.container +++ /dev/null @@ -1,26 +0,0 @@ -# vim: set ft=systemd : -[Unit] -After=network-online.target -Wants=network-online.target -Requires=gen-nginx-cert.service - -[Container] -Image=docker.io/library/nginx -Network=host -Volume=/etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro -Volume=/etc/nginx/conf.d:/etc/nginx/conf.d:ro -Volume=/etc/nginx/ssl:/etc/nginx/ssl:ro -Volume=/dev/log:/dev/log -User=82 -Group=82 -AddCapability=CAP_NET_BIND_SERVICE -ReadOnly=true -VolatileTmp=yes - -[Service] -ProtectSystem=full -UMask=0077 -ExecReload=/usr/bin/podman exec systemd-%N nginx -s reload - -[Install] -WantedBy=multi-user.target diff --git a/yellow/overlay/etc/containers/systemd/zigbee2mqtt.container b/yellow/overlay/etc/containers/systemd/zigbee2mqtt.container deleted file mode 100644 index acf3f3d..0000000 --- a/yellow/overlay/etc/containers/systemd/zigbee2mqtt.container +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -After=network-online.target -Wants=network-online.target - -[Container] -Image=docker.io/koenkk/zigbee2mqtt:latest -Network=host -Volume=/var/lib/zigbee2mqtt:/app/data:Z -User=302 -Group=302 -ReadOnly=true - -[Service] -TimeoutStartSec=5min -ProtectSystem=full -UMask=0077 - -[Install] -WantedBy=multi-user.target diff --git a/yellow/overlay/etc/containers/systemd/zwavejs2mqtt.container b/yellow/overlay/etc/containers/systemd/zwavejs2mqtt.container deleted file mode 100644 index 91fdb5b..0000000 --- a/yellow/overlay/etc/containers/systemd/zwavejs2mqtt.container +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -After=network-online.target -Wants=network-online.target - -[Container] -Image=docker.io/zwavejs/zwavejs2mqtt:latest -Network=host -Volume=/var/lib/zwavejs:/usr/src/app/store:Z -User=303 -Group=303 -ReadOnly=true - -[Service] -TimeoutStartSec=5min -ProtectSystem=full -UMask=0077 - -[Install] -WantedBy=multi-user.target diff --git a/yellow/overlay/etc/mosquitto/mosquitto.conf b/yellow/overlay/etc/mosquitto/mosquitto.conf deleted file mode 100644 index c46802e..0000000 --- a/yellow/overlay/etc/mosquitto/mosquitto.conf +++ /dev/null @@ -1,901 +0,0 @@ -# Config file for mosquitto -# -# See mosquitto.conf(5) for more information. -# -# Default values are shown, uncomment to change. -# -# Use the # character to indicate a comment, but only if it is the -# very first character on the line. - -# ================================================================= -# General configuration -# ================================================================= - -# Use per listener security settings. -# -# It is recommended this option be set before any other options. -# -# If this option is set to true, then all authentication and access control -# options are controlled on a per listener basis. The following options are -# affected: -# -# acl_file -# allow_anonymous -# allow_zero_length_clientid -# auto_id_prefix -# password_file -# plugin -# plugin_opt_* -# psk_file -# -# Note that if set to true, then a durable client (i.e. with clean session set -# to false) that has disconnected will use the ACL settings defined for the -# listener that it was most recently connected to. -# -# The default behaviour is for this to be set to false, which maintains the -# setting behaviour from previous versions of mosquitto. -#per_listener_settings false - - -# This option controls whether a client is allowed to connect with a zero -# length client id or not. This option only affects clients using MQTT v3.1.1 -# and later. If set to false, clients connecting with a zero length client id -# are disconnected. If set to true, clients will be allocated a client id by -# the broker. This means it is only useful for clients with clean session set -# to true. -#allow_zero_length_clientid true - -# If allow_zero_length_clientid is true, this option allows you to set a prefix -# to automatically generated client ids to aid visibility in logs. -# Defaults to 'auto-' -#auto_id_prefix auto- - -# This option affects the scenario when a client subscribes to a topic that has -# retained messages. It is possible that the client that published the retained -# message to the topic had access at the time they published, but that access -# has been subsequently removed. If check_retain_source is set to true, the -# default, the source of a retained message will be checked for access rights -# before it is republished. When set to false, no check will be made and the -# retained message will always be published. This affects all listeners. -#check_retain_source true - -# QoS 1 and 2 messages will be allowed inflight per client until this limit -# is exceeded. Defaults to 0. (No maximum) -# See also max_inflight_messages -#max_inflight_bytes 0 - -# The maximum number of QoS 1 and 2 messages currently inflight per -# client. -# This includes messages that are partway through handshakes and -# those that are being retried. Defaults to 20. Set to 0 for no -# maximum. Setting to 1 will guarantee in-order delivery of QoS 1 -# and 2 messages. -#max_inflight_messages 20 - -# For MQTT v5 clients, it is possible to have the server send a "server -# keepalive" value that will override the keepalive value set by the client. -# This is intended to be used as a mechanism to say that the server will -# disconnect the client earlier than it anticipated, and that the client should -# use the new keepalive value. The max_keepalive option allows you to specify -# that clients may only connect with keepalive less than or equal to this -# value, otherwise they will be sent a server keepalive telling them to use -# max_keepalive. This only applies to MQTT v5 clients. The default, and maximum -# value allowable, is 65535. -# -# Set to 0 to allow clients to set keepalive = 0, which means no keepalive -# checks are made and the client will never be disconnected by the broker if no -# messages are received. You should be very sure this is the behaviour that you -# want. -# -# For MQTT v3.1.1 and v3.1 clients, there is no mechanism to tell the client -# what keepalive value they should use. If an MQTT v3.1.1 or v3.1 client -# specifies a keepalive time greater than max_keepalive they will be sent a -# CONNACK message with the "identifier rejected" reason code, and disconnected. -# -#max_keepalive 65535 - -# For MQTT v5 clients, it is possible to have the server send a "maximum packet -# size" value that will instruct the client it will not accept MQTT packets -# with size greater than max_packet_size bytes. This applies to the full MQTT -# packet, not just the payload. Setting this option to a positive value will -# set the maximum packet size to that number of bytes. If a client sends a -# packet which is larger than this value, it will be disconnected. This applies -# to all clients regardless of the protocol version they are using, but v3.1.1 -# and earlier clients will of course not have received the maximum packet size -# information. Defaults to no limit. Setting below 20 bytes is forbidden -# because it is likely to interfere with ordinary client operation, even with -# very small payloads. -#max_packet_size 0 - -# QoS 1 and 2 messages above those currently in-flight will be queued per -# client until this limit is exceeded. Defaults to 0. (No maximum) -# See also max_queued_messages. -# If both max_queued_messages and max_queued_bytes are specified, packets will -# be queued until the first limit is reached. -#max_queued_bytes 0 - -# Set the maximum QoS supported. Clients publishing at a QoS higher than -# specified here will be disconnected. -#max_qos 2 - -# The maximum number of QoS 1 and 2 messages to hold in a queue per client -# above those that are currently in-flight. Defaults to 1000. Set -# to 0 for no maximum (not recommended). -# See also queue_qos0_messages. -# See also max_queued_bytes. -#max_queued_messages 1000 -# -# This option sets the maximum number of heap memory bytes that the broker will -# allocate, and hence sets a hard limit on memory use by the broker. Memory -# requests that exceed this value will be denied. The effect will vary -# depending on what has been denied. If an incoming message is being processed, -# then the message will be dropped and the publishing client will be -# disconnected. If an outgoing message is being sent, then the individual -# message will be dropped and the receiving client will be disconnected. -# Defaults to no limit. -#memory_limit 0 - -# This option sets the maximum publish payload size that the broker will allow. -# Received messages that exceed this size will not be accepted by the broker. -# The default value is 0, which means that all valid MQTT messages are -# accepted. MQTT imposes a maximum payload size of 268435455 bytes. -#message_size_limit 0 - -# This option allows persistent clients (those with clean session set to false) -# to be removed if they do not reconnect within a certain time frame. -# -# This is a non-standard option in MQTT V3.1 but allowed in MQTT v3.1.1. -# -# Badly designed clients may set clean session to false whilst using a randomly -# generated client id. This leads to persistent clients that will never -# reconnect. This option allows these clients to be removed. -# -# The expiration period should be an integer followed by one of h d w m y for -# hour, day, week, month and year respectively. For example -# -# persistent_client_expiration 2m -# persistent_client_expiration 14d -# persistent_client_expiration 1y -# -# The default if not set is to never expire persistent clients. -#persistent_client_expiration - -# Write process id to a file. Default is a blank string which means -# a pid file shouldn't be written. -# This should be set to /var/run/mosquitto/mosquitto.pid if mosquitto is -# being run automatically on boot with an init script and -# start-stop-daemon or similar. -#pid_file - -# Set to true to queue messages with QoS 0 when a persistent client is -# disconnected. These messages are included in the limit imposed by -# max_queued_messages and max_queued_bytes -# Defaults to false. -# This is a non-standard option for the MQTT v3.1 spec but is allowed in -# v3.1.1. -#queue_qos0_messages false - -# Set to false to disable retained message support. If a client publishes a -# message with the retain bit set, it will be disconnected if this is set to -# false. -#retain_available true - -# Disable Nagle's algorithm on client sockets. This has the effect of reducing -# latency of individual messages at the potential cost of increasing the number -# of packets being sent. -#set_tcp_nodelay false - -# Time in seconds between updates of the $SYS tree. -# Set to 0 to disable the publishing of the $SYS tree. -#sys_interval 10 - -# The MQTT specification requires that the QoS of a message delivered to a -# subscriber is never upgraded to match the QoS of the subscription. Enabling -# this option changes this behaviour. If upgrade_outgoing_qos is set true, -# messages sent to a subscriber will always match the QoS of its subscription. -# This is a non-standard option explicitly disallowed by the spec. -#upgrade_outgoing_qos false - -# When run as root, drop privileges to this user and its primary -# group. -# Set to root to stay as root, but this is not recommended. -# If set to "mosquitto", or left unset, and the "mosquitto" user does not exist -# then it will drop privileges to the "nobody" user instead. -# If run as a non-root user, this setting has no effect. -# Note that on Windows this has no effect and so mosquitto should be started by -# the user you wish it to run as. -#user mosquitto - -# ================================================================= -# Listeners -# ================================================================= - -# Listen on a port/ip address combination. By using this variable -# multiple times, mosquitto can listen on more than one port. If -# this variable is used and neither bind_address nor port given, -# then the default listener will not be started. -# The port number to listen on must be given. Optionally, an ip -# address or host name may be supplied as a second argument. In -# this case, mosquitto will attempt to bind the listener to that -# address and so restrict access to the associated network and -# interface. By default, mosquitto will listen on all interfaces. -# Note that for a websockets listener it is not possible to bind to a host -# name. -# -# On systems that support Unix Domain Sockets, it is also possible -# to create a # Unix socket rather than opening a TCP socket. In -# this case, the port number should be set to 0 and a unix socket -# path must be provided, e.g. -# listener 0 /tmp/mosquitto.sock -# -# listener port-number [ip address/host name/unix socket path] -#listener - -# By default, a listener will attempt to listen on all supported IP protocol -# versions. If you do not have an IPv4 or IPv6 interface you may wish to -# disable support for either of those protocol versions. In particular, note -# that due to the limitations of the websockets library, it will only ever -# attempt to open IPv6 sockets if IPv6 support is compiled in, and so will fail -# if IPv6 is not available. -# -# Set to `ipv4` to force the listener to only use IPv4, or set to `ipv6` to -# force the listener to only use IPv6. If you want support for both IPv4 and -# IPv6, then do not use the socket_domain option. -# -#socket_domain - -# Bind the listener to a specific interface. This is similar to -# the [ip address/host name] part of the listener definition, but is useful -# when an interface has multiple addresses or the address may change. If used -# with the [ip address/host name] part of the listener definition, then the -# bind_interface option will take priority. -# Not available on Windows. -# -# Example: bind_interface eth0 -#bind_interface - -# When a listener is using the websockets protocol, it is possible to serve -# http data as well. Set http_dir to a directory which contains the files you -# wish to serve. If this option is not specified, then no normal http -# connections will be possible. -#http_dir - -# The maximum number of client connections to allow. This is -# a per listener setting. -# Default is -1, which means unlimited connections. -# Note that other process limits mean that unlimited connections -# are not really possible. Typically the default maximum number of -# connections possible is around 1024. -#max_connections -1 - -# The listener can be restricted to operating within a topic hierarchy using -# the mount_point option. This is achieved be prefixing the mount_point string -# to all topics for any clients connected to this listener. This prefixing only -# happens internally to the broker; the client will not see the prefix. -#mount_point - -# Choose the protocol to use when listening. -# This can be either mqtt or websockets. -# Certificate based TLS may be used with websockets, except that only the -# cafile, certfile, keyfile, ciphers, and ciphers_tls13 options are supported. -#protocol mqtt - -# Set use_username_as_clientid to true to replace the clientid that a client -# connected with with its username. This allows authentication to be tied to -# the clientid, which means that it is possible to prevent one client -# disconnecting another by using the same clientid. -# If a client connects with no username it will be disconnected as not -# authorised when this option is set to true. -# Do not use in conjunction with clientid_prefixes. -# See also use_identity_as_username. -#use_username_as_clientid - -# Change the websockets headers size. This is a global option, it is not -# possible to set per listener. This option sets the size of the buffer used in -# the libwebsockets library when reading HTTP headers. If you are passing large -# header data such as cookies then you may need to increase this value. If left -# unset, or set to 0, then the default of 1024 bytes will be used. -#websockets_headers_size - -# ----------------------------------------------------------------- -# Certificate based SSL/TLS support -# ----------------------------------------------------------------- -# The following options can be used to enable certificate based SSL/TLS support -# for this listener. Note that the recommended port for MQTT over TLS is 8883, -# but this must be set manually. -# -# See also the mosquitto-tls man page and the "Pre-shared-key based SSL/TLS -# support" section. Only one of certificate or PSK encryption support can be -# enabled for any listener. - -# Both of certfile and keyfile must be defined to enable certificate based -# TLS encryption. - -# Path to the PEM encoded server certificate. -#certfile - -# Path to the PEM encoded keyfile. -#keyfile - -# If you wish to control which encryption ciphers are used, use the ciphers -# option. The list of available ciphers can be optained using the "openssl -# ciphers" command and should be provided in the same format as the output of -# that command. This applies to TLS 1.2 and earlier versions only. Use -# ciphers_tls1.3 for TLS v1.3. -#ciphers - -# Choose which TLS v1.3 ciphersuites are used for this listener. -# Defaults to "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256" -#ciphers_tls1.3 - -# If you have require_certificate set to true, you can create a certificate -# revocation list file to revoke access to particular client certificates. If -# you have done this, use crlfile to point to the PEM encoded revocation file. -#crlfile - -# To allow the use of ephemeral DH key exchange, which provides forward -# security, the listener must load DH parameters. This can be specified with -# the dhparamfile option. The dhparamfile can be generated with the command -# e.g. "openssl dhparam -out dhparam.pem 2048" -#dhparamfile - -# By default an TLS enabled listener will operate in a similar fashion to a -# https enabled web server, in that the server has a certificate signed by a CA -# and the client will verify that it is a trusted certificate. The overall aim -# is encryption of the network traffic. By setting require_certificate to true, -# the client must provide a valid certificate in order for the network -# connection to proceed. This allows access to the broker to be controlled -# outside of the mechanisms provided by MQTT. -#require_certificate false - -# cafile and capath define methods of accessing the PEM encoded -# Certificate Authority certificates that will be considered trusted when -# checking incoming client certificates. -# cafile defines the path to a file containing the CA certificates. -# capath defines a directory that will be searched for files -# containing the CA certificates. For capath to work correctly, the -# certificate files must have ".crt" as the file ending and you must run -# "openssl rehash " each time you add/remove a certificate. -#cafile -#capath - - -# If require_certificate is true, you may set use_identity_as_username to true -# to use the CN value from the client certificate as a username. If this is -# true, the password_file option will not be used for this listener. -#use_identity_as_username false - -# ----------------------------------------------------------------- -# Pre-shared-key based SSL/TLS support -# ----------------------------------------------------------------- -# The following options can be used to enable PSK based SSL/TLS support for -# this listener. Note that the recommended port for MQTT over TLS is 8883, but -# this must be set manually. -# -# See also the mosquitto-tls man page and the "Certificate based SSL/TLS -# support" section. Only one of certificate or PSK encryption support can be -# enabled for any listener. - -# The psk_hint option enables pre-shared-key support for this listener and also -# acts as an identifier for this listener. The hint is sent to clients and may -# be used locally to aid authentication. The hint is a free form string that -# doesn't have much meaning in itself, so feel free to be creative. -# If this option is provided, see psk_file to define the pre-shared keys to be -# used or create a security plugin to handle them. -#psk_hint - -# When using PSK, the encryption ciphers used will be chosen from the list of -# available PSK ciphers. If you want to control which ciphers are available, -# use the "ciphers" option. The list of available ciphers can be optained -# using the "openssl ciphers" command and should be provided in the same format -# as the output of that command. -#ciphers - -# Set use_identity_as_username to have the psk identity sent by the client used -# as its username. Authentication will be carried out using the PSK rather than -# the MQTT username/password and so password_file will not be used for this -# listener. -#use_identity_as_username false - - -# ================================================================= -# Persistence -# ================================================================= - -# If persistence is enabled, save the in-memory database to disk -# every autosave_interval seconds. If set to 0, the persistence -# database will only be written when mosquitto exits. See also -# autosave_on_changes. -# Note that writing of the persistence database can be forced by -# sending mosquitto a SIGUSR1 signal. -#autosave_interval 1800 - -# If true, mosquitto will count the number of subscription changes, retained -# messages received and queued messages and if the total exceeds -# autosave_interval then the in-memory database will be saved to disk. -# If false, mosquitto will save the in-memory database to disk by treating -# autosave_interval as a time in seconds. -#autosave_on_changes false - -# Save persistent message data to disk (true/false). -# This saves information about all messages, including -# subscriptions, currently in-flight messages and retained -# messages. -# retained_persistence is a synonym for this option. -#persistence false - -# The filename to use for the persistent database, not including -# the path. -#persistence_file mosquitto.db - -# Location for persistent database. -# Default is an empty string (current directory). -# Set to e.g. /var/lib/mosquitto if running as a proper service on Linux or -# similar. -#persistence_location - - -# ================================================================= -# Logging -# ================================================================= - -# Places to log to. Use multiple log_dest lines for multiple -# logging destinations. -# Possible destinations are: stdout stderr syslog topic file dlt -# -# stdout and stderr log to the console on the named output. -# -# syslog uses the userspace syslog facility which usually ends up -# in /var/log/messages or similar. -# -# topic logs to the broker topic '$SYS/broker/log/', -# where severity is one of D, E, W, N, I, M which are debug, error, -# warning, notice, information and message. Message type severity is used by -# the subscribe/unsubscribe log_types and publishes log messages to -# $SYS/broker/log/M/susbcribe or $SYS/broker/log/M/unsubscribe. -# -# The file destination requires an additional parameter which is the file to be -# logged to, e.g. "log_dest file /var/log/mosquitto.log". The file will be -# closed and reopened when the broker receives a HUP signal. Only a single file -# destination may be configured. -# -# The dlt destination is for the automotive `Diagnostic Log and Trace` tool. -# This requires that Mosquitto has been compiled with DLT support. -# -# Note that if the broker is running as a Windows service it will default to -# "log_dest none" and neither stdout nor stderr logging is available. -# Use "log_dest none" if you wish to disable logging. -#log_dest stderr - -# Types of messages to log. Use multiple log_type lines for logging -# multiple types of messages. -# Possible types are: debug, error, warning, notice, information, -# none, subscribe, unsubscribe, websockets, all. -# Note that debug type messages are for decoding the incoming/outgoing -# network packets. They are not logged in "topics". -#log_type error -#log_type warning -#log_type notice -#log_type information - - -# If set to true, client connection and disconnection messages will be included -# in the log. -#connection_messages true - -# If using syslog logging (not on Windows), messages will be logged to the -# "daemon" facility by default. Use the log_facility option to choose which of -# local0 to local7 to log to instead. The option value should be an integer -# value, e.g. "log_facility 5" to use local5. -#log_facility - -# If set to true, add a timestamp value to each log message. -#log_timestamp true - -# Set the format of the log timestamp. If left unset, this is the number of -# seconds since the Unix epoch. -# This is a free text string which will be passed to the strftime function. To -# get an ISO 8601 datetime, for example: -# log_timestamp_format %Y-%m-%dT%H:%M:%S -#log_timestamp_format - -# Change the websockets logging level. This is a global option, it is not -# possible to set per listener. This is an integer that is interpreted by -# libwebsockets as a bit mask for its lws_log_levels enum. See the -# libwebsockets documentation for more details. "log_type websockets" must also -# be enabled. -#websockets_log_level 0 - - -# ================================================================= -# Security -# ================================================================= - -# If set, only clients that have a matching prefix on their -# clientid will be allowed to connect to the broker. By default, -# all clients may connect. -# For example, setting "secure-" here would mean a client "secure- -# client" could connect but another with clientid "mqtt" couldn't. -#clientid_prefixes - -# Boolean value that determines whether clients that connect -# without providing a username are allowed to connect. If set to -# false then a password file should be created (see the -# password_file option) to control authenticated client access. -# -# Defaults to false, unless there are no listeners defined in the configuration -# file, in which case it is set to true, but connections are only allowed from -# the local machine. -#allow_anonymous false - -# ----------------------------------------------------------------- -# Default authentication and topic access control -# ----------------------------------------------------------------- - -# Control access to the broker using a password file. This file can be -# generated using the mosquitto_passwd utility. If TLS support is not compiled -# into mosquitto (it is recommended that TLS support should be included) then -# plain text passwords are used, in which case the file should be a text file -# with lines in the format: -# username:password -# The password (and colon) may be omitted if desired, although this -# offers very little in the way of security. -# -# See the TLS client require_certificate and use_identity_as_username options -# for alternative authentication options. If a plugin is used as well as -# password_file, the plugin check will be made first. -#password_file - -# Access may also be controlled using a pre-shared-key file. This requires -# TLS-PSK support and a listener configured to use it. The file should be text -# lines in the format: -# identity:key -# The key should be in hexadecimal format without a leading "0x". -# If an plugin is used as well, the plugin check will be made first. -#psk_file - -# Control access to topics on the broker using an access control list -# file. If this parameter is defined then only the topics listed will -# have access. -# If the first character of a line of the ACL file is a # it is treated as a -# comment. -# Topic access is added with lines of the format: -# -# topic [read|write|readwrite|deny] -# -# The access type is controlled using "read", "write", "readwrite" or "deny". -# This parameter is optional (unless contains a space character) - if -# not given then the access is read/write. can contain the + or # -# wildcards as in subscriptions. -# -# The "deny" option can used to explicity deny access to a topic that would -# otherwise be granted by a broader read/write/readwrite statement. Any "deny" -# topics are handled before topics that grant read/write access. -# -# The first set of topics are applied to anonymous clients, assuming -# allow_anonymous is true. User specific topic ACLs are added after a -# user line as follows: -# -# user -# -# The username referred to here is the same as in password_file. It is -# not the clientid. -# -# -# If is also possible to define ACLs based on pattern substitution within the -# topic. The patterns available for substition are: -# -# %c to match the client id of the client -# %u to match the username of the client -# -# The substitution pattern must be the only text for that level of hierarchy. -# -# The form is the same as for the topic keyword, but using pattern as the -# keyword. -# Pattern ACLs apply to all users even if the "user" keyword has previously -# been given. -# -# If using bridges with usernames and ACLs, connection messages can be allowed -# with the following pattern: -# pattern write $SYS/broker/connection/%c/state -# -# pattern [read|write|readwrite] -# -# Example: -# -# pattern write sensor/%u/data -# -# If an plugin is used as well as acl_file, the plugin check will be -# made first. -#acl_file - -# ----------------------------------------------------------------- -# External authentication and topic access plugin options -# ----------------------------------------------------------------- - -# External authentication and access control can be supported with the -# plugin option. This is a path to a loadable plugin. See also the -# plugin_opt_* options described below. -# -# The plugin option can be specified multiple times to load multiple -# plugins. The plugins will be processed in the order that they are specified -# here. If the plugin option is specified alongside either of -# password_file or acl_file then the plugin checks will be made first. -# -# If the per_listener_settings option is false, the plugin will be apply to all -# listeners. If per_listener_settings is true, then the plugin will apply to -# the current listener being defined only. -# -# This option is also available as `auth_plugin`, but this use is deprecated -# and will be removed in the future. -# -#plugin - -# If the plugin option above is used, define options to pass to the -# plugin here as described by the plugin instructions. All options named -# using the format plugin_opt_* will be passed to the plugin, for example: -# -# This option is also available as `auth_opt_*`, but this use is deprecated -# and will be removed in the future. -# -# plugin_opt_db_host -# plugin_opt_db_port -# plugin_opt_db_username -# plugin_opt_db_password - - -# ================================================================= -# Bridges -# ================================================================= - -# A bridge is a way of connecting multiple MQTT brokers together. -# Create a new bridge using the "connection" option as described below. Set -# options for the bridges using the remaining parameters. You must specify the -# address and at least one topic to subscribe to. -# -# Each connection must have a unique name. -# -# The address line may have multiple host address and ports specified. See -# below in the round_robin description for more details on bridge behaviour if -# multiple addresses are used. Note that if you use an IPv6 address, then you -# are required to specify a port. -# -# The direction that the topic will be shared can be chosen by -# specifying out, in or both, where the default value is out. -# The QoS level of the bridged communication can be specified with the next -# topic option. The default QoS level is 0, to change the QoS the topic -# direction must also be given. -# -# The local and remote prefix options allow a topic to be remapped when it is -# bridged to/from the remote broker. This provides the ability to place a topic -# tree in an appropriate location. -# -# For more details see the mosquitto.conf man page. -# -# Multiple topics can be specified per connection, but be careful -# not to create any loops. -# -# If you are using bridges with cleansession set to false (the default), then -# you may get unexpected behaviour from incoming topics if you change what -# topics you are subscribing to. This is because the remote broker keeps the -# subscription for the old topic. If you have this problem, connect your bridge -# with cleansession set to true, then reconnect with cleansession set to false -# as normal. -#connection -#address [:] [[:]] -#topic [[[out | in | both] qos-level] local-prefix remote-prefix] - -# If you need to have the bridge connect over a particular network interface, -# use bridge_bind_address to tell the bridge which local IP address the socket -# should bind to, e.g. `bridge_bind_address 192.168.1.10` -#bridge_bind_address - -# If a bridge has topics that have "out" direction, the default behaviour is to -# send an unsubscribe request to the remote broker on that topic. This means -# that changing a topic direction from "in" to "out" will not keep receiving -# incoming messages. Sending these unsubscribe requests is not always -# desirable, setting bridge_attempt_unsubscribe to false will disable sending -# the unsubscribe request. -#bridge_attempt_unsubscribe true - -# Set the version of the MQTT protocol to use with for this bridge. Can be one -# of mqttv50, mqttv311 or mqttv31. Defaults to mqttv311. -#bridge_protocol_version mqttv311 - -# Set the clean session variable for this bridge. -# When set to true, when the bridge disconnects for any reason, all -# messages and subscriptions will be cleaned up on the remote -# broker. Note that with cleansession set to true, there may be a -# significant amount of retained messages sent when the bridge -# reconnects after losing its connection. -# When set to false, the subscriptions and messages are kept on the -# remote broker, and delivered when the bridge reconnects. -#cleansession false - -# Set the amount of time a bridge using the lazy start type must be idle before -# it will be stopped. Defaults to 60 seconds. -#idle_timeout 60 - -# Set the keepalive interval for this bridge connection, in -# seconds. -#keepalive_interval 60 - -# Set the clientid to use on the local broker. If not defined, this defaults to -# 'local.'. If you are bridging a broker to itself, it is important -# that local_clientid and clientid do not match. -#local_clientid - -# If set to true, publish notification messages to the local and remote brokers -# giving information about the state of the bridge connection. Retained -# messages are published to the topic $SYS/broker/connection//state -# unless the notification_topic option is used. -# If the message is 1 then the connection is active, or 0 if the connection has -# failed. -# This uses the last will and testament feature. -#notifications true - -# Choose the topic on which notification messages for this bridge are -# published. If not set, messages are published on the topic -# $SYS/broker/connection//state -#notification_topic - -# Set the client id to use on the remote end of this bridge connection. If not -# defined, this defaults to 'name.hostname' where name is the connection name -# and hostname is the hostname of this computer. -# This replaces the old "clientid" option to avoid confusion. "clientid" -# remains valid for the time being. -#remote_clientid - -# Set the password to use when connecting to a broker that requires -# authentication. This option is only used if remote_username is also set. -# This replaces the old "password" option to avoid confusion. "password" -# remains valid for the time being. -#remote_password - -# Set the username to use when connecting to a broker that requires -# authentication. -# This replaces the old "username" option to avoid confusion. "username" -# remains valid for the time being. -#remote_username - -# Set the amount of time a bridge using the automatic start type will wait -# until attempting to reconnect. -# This option can be configured to use a constant delay time in seconds, or to -# use a backoff mechanism based on "Decorrelated Jitter", which adds a degree -# of randomness to when the restart occurs. -# -# Set a constant timeout of 20 seconds: -# restart_timeout 20 -# -# Set backoff with a base (start value) of 10 seconds and a cap (upper limit) of -# 60 seconds: -# restart_timeout 10 30 -# -# Defaults to jitter with a base of 5 and cap of 30 -#restart_timeout 5 30 - -# If the bridge has more than one address given in the address/addresses -# configuration, the round_robin option defines the behaviour of the bridge on -# a failure of the bridge connection. If round_robin is false, the default -# value, then the first address is treated as the main bridge connection. If -# the connection fails, the other secondary addresses will be attempted in -# turn. Whilst connected to a secondary bridge, the bridge will periodically -# attempt to reconnect to the main bridge until successful. -# If round_robin is true, then all addresses are treated as equals. If a -# connection fails, the next address will be tried and if successful will -# remain connected until it fails -#round_robin false - -# Set the start type of the bridge. This controls how the bridge starts and -# can be one of three types: automatic, lazy and once. Note that RSMB provides -# a fourth start type "manual" which isn't currently supported by mosquitto. -# -# "automatic" is the default start type and means that the bridge connection -# will be started automatically when the broker starts and also restarted -# after a short delay (30 seconds) if the connection fails. -# -# Bridges using the "lazy" start type will be started automatically when the -# number of queued messages exceeds the number set with the "threshold" -# parameter. It will be stopped automatically after the time set by the -# "idle_timeout" parameter. Use this start type if you wish the connection to -# only be active when it is needed. -# -# A bridge using the "once" start type will be started automatically when the -# broker starts but will not be restarted if the connection fails. -#start_type automatic - -# Set the number of messages that need to be queued for a bridge with lazy -# start type to be restarted. Defaults to 10 messages. -# Must be less than max_queued_messages. -#threshold 10 - -# If try_private is set to true, the bridge will attempt to indicate to the -# remote broker that it is a bridge not an ordinary client. If successful, this -# means that loop detection will be more effective and that retained messages -# will be propagated correctly. Not all brokers support this feature so it may -# be necessary to set try_private to false if your bridge does not connect -# properly. -#try_private true - -# Some MQTT brokers do not allow retained messages. MQTT v5 gives a mechanism -# for brokers to tell clients that they do not support retained messages, but -# this is not possible for MQTT v3.1.1 or v3.1. If you need to bridge to a -# v3.1.1 or v3.1 broker that does not support retained messages, set the -# bridge_outgoing_retain option to false. This will remove the retain bit on -# all outgoing messages to that bridge, regardless of any other setting. -#bridge_outgoing_retain true - -# If you wish to restrict the size of messages sent to a remote bridge, use the -# bridge_max_packet_size option. This sets the maximum number of bytes for -# the total message, including headers and payload. -# Note that MQTT v5 brokers may provide their own maximum-packet-size property. -# In this case, the smaller of the two limits will be used. -# Set to 0 for "unlimited". -#bridge_max_packet_size 0 - - -# ----------------------------------------------------------------- -# Certificate based SSL/TLS support -# ----------------------------------------------------------------- -# Either bridge_cafile or bridge_capath must be defined to enable TLS support -# for this bridge. -# bridge_cafile defines the path to a file containing the -# Certificate Authority certificates that have signed the remote broker -# certificate. -# bridge_capath defines a directory that will be searched for files containing -# the CA certificates. For bridge_capath to work correctly, the certificate -# files must have ".crt" as the file ending and you must run "openssl rehash -# " each time you add/remove a certificate. -#bridge_cafile -#bridge_capath - - -# If the remote broker has more than one protocol available on its port, e.g. -# MQTT and WebSockets, then use bridge_alpn to configure which protocol is -# requested. Note that WebSockets support for bridges is not yet available. -#bridge_alpn - -# When using certificate based encryption, bridge_insecure disables -# verification of the server hostname in the server certificate. This can be -# useful when testing initial server configurations, but makes it possible for -# a malicious third party to impersonate your server through DNS spoofing, for -# example. Use this option in testing only. If you need to resort to using this -# option in a production environment, your setup is at fault and there is no -# point using encryption. -#bridge_insecure false - -# Path to the PEM encoded client certificate, if required by the remote broker. -#bridge_certfile - -# Path to the PEM encoded client private key, if required by the remote broker. -#bridge_keyfile - -# ----------------------------------------------------------------- -# PSK based SSL/TLS support -# ----------------------------------------------------------------- -# Pre-shared-key encryption provides an alternative to certificate based -# encryption. A bridge can be configured to use PSK with the bridge_identity -# and bridge_psk options. These are the client PSK identity, and pre-shared-key -# in hexadecimal format with no "0x". Only one of certificate and PSK based -# encryption can be used on one -# bridge at once. -#bridge_identity -#bridge_psk - - -# ================================================================= -# External config files -# ================================================================= - -# External configuration files may be included by using the -# include_dir option. This defines a directory that will be searched -# for config files. All files that end in '.conf' will be loaded as -# a configuration file. It is best to have this as the last option -# in the main file. This option will only be processed from the main -# configuration file. The directory specified must not contain the -# main configuration file. -# Files within include_dir will be loaded sorted in case-sensitive -# alphabetical order, with capital letters ordered first. If this option is -# given multiple times, all of the files from the first instance will be -# processed before the next instance. See the man page for examples. -#include_dir diff --git a/yellow/overlay/etc/nginx/conf.d/default.conf b/yellow/overlay/etc/nginx/conf.d/default.conf deleted file mode 100644 index 8ebe600..0000000 --- a/yellow/overlay/etc/nginx/conf.d/default.conf +++ /dev/null @@ -1,70 +0,0 @@ -# vim: set sw=4 ts=4 sts=4 et : -map $http_upgrade $connection_upgrade { - default upgrade; - '' close; -} - -server { - listen 80 default_server; - listen [::]:80 default_server; - server_name _; - root /usr/share/nginx/html; - - return 301 https://$host$request_uri; - - error_page 500 502 503 504 /50x.html; - - location = /50x.html { } -} - -server { - listen 443 ssl http2 default_server; - listen [::]:443 ssl http2 default_server; - server_name _; - root /usr/share/nginx/html; - - ssl_certificate "/etc/nginx/ssl/server.crt"; - ssl_certificate_key "/etc/nginx/ssl/server.key"; - ssl_session_cache shared:SSL:1m; - ssl_prefer_server_ciphers on; - - error_page 500 502 503 504 /50x.html; - - add_header - Strict-Transport-Security - "max-age=63072000; includeSubDomains" - always; - - location = /50x.html { } - - location = /zwave { - return 301 https://$host/zwave/; - } - - location = /zigbee { - return 301 https://$host/zigbee/; - } - - location /zwave/ { - proxy_pass http://127.0.0.1:8091/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - proxy_set_header X-External-Path /zwave; - } - - location /zigbee/ { - proxy_pass http://127.0.0.1:8080/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - proxy_set_header X-External-Path /zigbee; - } - - location / { - proxy_pass http://[::1]:8123/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - } -} diff --git a/yellow/overlay/etc/nginx/nginx.conf b/yellow/overlay/etc/nginx/nginx.conf deleted file mode 100644 index a7496cf..0000000 --- a/yellow/overlay/etc/nginx/nginx.conf +++ /dev/null @@ -1,36 +0,0 @@ -worker_processes auto; - -error_log stderr notice; -pid /tmp/nginx.pid; - - -events { - worker_connections 1024; -} - - -http { - client_body_temp_path /tmp/client_temp; - proxy_temp_path /tmp/proxy_temp; - fastcgi_temp_path /tmp/fastcgi_temp; - uwsgi_temp_path /tmp/uwsgi_temp; - scgi_temp_path /tmp/scgi_temp; - - include /etc/nginx/mime.types; - default_type application/octet-stream; - - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log syslog:server=unix:/dev/log main; - - sendfile on; - #tcp_nopush on; - - keepalive_timeout 65; - - #gzip on; - - include /etc/nginx/conf.d/*.conf; -} diff --git a/yellow/overlay/etc/systemd/system/gen-nginx-cert.service b/yellow/overlay/etc/systemd/system/gen-nginx-cert.service deleted file mode 100644 index f5f867b..0000000 --- a/yellow/overlay/etc/systemd/system/gen-nginx-cert.service +++ /dev/null @@ -1,40 +0,0 @@ -# vim: set ft=systemd : -[Unit] -Description=Generate self-signed certificate for nginx -Before=nginx.service -ConditionPathExists=!/etc/nginx/ssl/server.crt - -[Service] -Type=oneshot -ExecStart=/usr/libexec/gen-nginx-cert -User=root -Group=nginx -CapabilityBoundingSet= -DeviceAllow= -DevicePolicy=closed -IPAddressDeny=any -LockPersonality=yes -MemoryDenyWriteExecute=yes -NoNewPrivileges=yes -PrivateDevices=yes -PrivateNetwork=yes -PrivateTmp=yes -PrivateUsers=yes -ProcSubset=pid -ProtectClock=yes -ProtectControlGroups=yes -ProtectHome=yes -ProtectHostname=yes -ProtectKernelLogs=yes -ProtectKernelModules=yes -ProtectKernelTunables=yes -ProtectProc=invisible -ProtectSystem=yes -RestrictAddressFamilies= -RestrictNamespaces=yes -RestrictRealtime=yes -RestrictSUIDSGID=yes -SystemCallArchitectures=native -SystemCallFilter=@system-service -SystemCallFilter=~@privileged -UMask=0027 diff --git a/yellow/overlay/etc/sysusers.d/homeassistant.conf b/yellow/overlay/etc/sysusers.d/homeassistant.conf deleted file mode 100644 index 35d916f..0000000 --- a/yellow/overlay/etc/sysusers.d/homeassistant.conf +++ /dev/null @@ -1,2 +0,0 @@ -u homeassistant 300 "Home Assistant" /var/lib/homeassistant /bin/sh -g homeassistant 300 diff --git a/yellow/overlay/etc/sysusers.d/mosquitto.conf b/yellow/overlay/etc/sysusers.d/mosquitto.conf deleted file mode 100644 index 036c69a..0000000 --- a/yellow/overlay/etc/sysusers.d/mosquitto.conf +++ /dev/null @@ -1,2 +0,0 @@ -u mosquitto 301 "Eclipse Mosquitto MQTT Broker" /var/lib/mosquitto /sbin/nologin -g mosquitto 301 diff --git a/yellow/overlay/etc/sysusers.d/zigbee2mqtt.conf b/yellow/overlay/etc/sysusers.d/zigbee2mqtt.conf deleted file mode 100644 index 5c2b737..0000000 --- a/yellow/overlay/etc/sysusers.d/zigbee2mqtt.conf +++ /dev/null @@ -1,2 +0,0 @@ -u zigbee2mqtt 302 Zigbee2MQTT /var/lib/zigbee2mqtt /sbin/nologin -g zigbee2mqtt 302 diff --git a/yellow/overlay/etc/sysusers.d/zwavejs2mqtt.conf b/yellow/overlay/etc/sysusers.d/zwavejs2mqtt.conf deleted file mode 100644 index c5730cf..0000000 --- a/yellow/overlay/etc/sysusers.d/zwavejs2mqtt.conf +++ /dev/null @@ -1,3 +0,0 @@ -u zwavejs 303 ZWaveJS /var/lib/zwavejs /sbin/nologin -g zwavejs 303 - diff --git a/yellow/overlay/etc/tmpfiles.d/homeassistant.conf b/yellow/overlay/etc/tmpfiles.d/homeassistant.conf deleted file mode 100644 index 94b6070..0000000 --- a/yellow/overlay/etc/tmpfiles.d/homeassistant.conf +++ /dev/null @@ -1,8 +0,0 @@ -v /var/lib/homeassistant 0700 homeassistant homeassistant - - -C /var/lib/homeassistant/automations.yaml - - - - -C /var/lib/homeassistant/configuration.yaml - - - - -C /var/lib/homeassistant/groups.yaml - - - - -C /var/lib/homeassistant/http.yaml - - - - -C /var/lib/homeassistant/scenes.yaml - - - - -C /var/lib/homeassistant/scripts.yaml - - - - -C /var/lib/homeassistant/secrets.yaml - - - - diff --git a/yellow/overlay/etc/tmpfiles.d/mosquitto.conf b/yellow/overlay/etc/tmpfiles.d/mosquitto.conf deleted file mode 100644 index ee815e9..0000000 --- a/yellow/overlay/etc/tmpfiles.d/mosquitto.conf +++ /dev/null @@ -1,2 +0,0 @@ -v /var/lib/mosquitto 0700 mosquitto mosquitto - - -d /var/log/mosquitto 0755 mosquitto mosquitto - - diff --git a/yellow/overlay/etc/tmpfiles.d/zigbee2mqtt.conf b/yellow/overlay/etc/tmpfiles.d/zigbee2mqtt.conf deleted file mode 100644 index 8d4b16f..0000000 --- a/yellow/overlay/etc/tmpfiles.d/zigbee2mqtt.conf +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zigbee2mqtt 0700 zigbee2mqtt zigbee2mqtt - - diff --git a/yellow/overlay/etc/tmpfiles.d/zwavejs.conf b/yellow/overlay/etc/tmpfiles.d/zwavejs.conf deleted file mode 100644 index 6831173..0000000 --- a/yellow/overlay/etc/tmpfiles.d/zwavejs.conf +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zwavejs 0700 zwavejs zwavejs - - diff --git a/yellow/overlay/usr/libexec/gen-nginx-cert b/yellow/overlay/usr/libexec/gen-nginx-cert deleted file mode 100755 index eeab88a..0000000 --- a/yellow/overlay/usr/libexec/gen-nginx-cert +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# vim: set sw=4 ts=4 sts=4 et : - -DAYS=90 -SUBJ=/CN=localhost -ALG=EC -CURVE=secp384r1 - -if [ -f /etc/default/gen-nginx-cert ]; then - . /etc/default/gen-nginx-cert -fi - -set -- \ - -out /etc/nginx/ssl/server.key \ - -algorithm "${ALG}" - -case "${ALG}" in -EC) - set -- "$@" \ - -pkeyopt ec_paramgen_curve:${CURVE} \ - -pkeyopt ec_param_enc:named_curve - ;; -RSA) - set -- "$@" \ - -pkeyopt rsa_keygen_bits:${BITS:+4096} - ;; -esac - -rm -f /etc/nginx/ssl/server.crt /etc/nginx/ssl/server.key -: > /etc/nginx/ssl/server.key -openssl genpkey "$@" -openssl \ - req -x509 \ - -subj "${SUBJ}" \ - -key /etc/nginx/ssl/server.key \ - -out /etc/nginx/ssl/server.crt \ - -sha256 \ - -days "${DAYS}" diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/automations.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/automations.yaml deleted file mode 100644 index fe51488..0000000 --- a/yellow/overlay/usr/share/factory/var/lib/homeassistant/automations.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/configuration.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/configuration.yaml deleted file mode 100644 index 69a414d..0000000 --- a/yellow/overlay/usr/share/factory/var/lib/homeassistant/configuration.yaml +++ /dev/null @@ -1,14 +0,0 @@ - -# Configure a default setup of Home Assistant (frontend, api, etc) -default_config: - -http: !include http.yaml - -# Text to speech -tts: - - platform: google_translate - -group: !include groups.yaml -automation: !include automations.yaml -script: !include scripts.yaml -scene: !include scenes.yaml diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/groups.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/groups.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/http.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/http.yaml deleted file mode 100644 index 5311045..0000000 --- a/yellow/overlay/usr/share/factory/var/lib/homeassistant/http.yaml +++ /dev/null @@ -1,4 +0,0 @@ -server_host: '::1' -trusted_proxies: -- '::1' -use_x_forwarded_for: true diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/scenes.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/scenes.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/scripts.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/scripts.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/yellow/overlay/usr/share/factory/var/lib/homeassistant/secrets.yaml b/yellow/overlay/usr/share/factory/var/lib/homeassistant/secrets.yaml deleted file mode 100644 index 0967ef4..0000000 --- a/yellow/overlay/usr/share/factory/var/lib/homeassistant/secrets.yaml +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/yellow/portage/host/etc/portage/env/nobuildpkg b/yellow/portage/host/etc/portage/env/nobuildpkg deleted file mode 100644 index 1d3a766..0000000 --- a/yellow/portage/host/etc/portage/env/nobuildpkg +++ /dev/null @@ -1 +0,0 @@ -FEATURES=-buildpkg diff --git a/yellow/portage/host/etc/portage/make.conf/15-keywords.conf b/yellow/portage/host/etc/portage/make.conf/15-keywords.conf deleted file mode 100644 index 9768513..0000000 --- a/yellow/portage/host/etc/portage/make.conf/15-keywords.conf +++ /dev/null @@ -1 +0,0 @@ -ACCEPT_KEYWORDS="${ARCH}" diff --git a/yellow/portage/host/etc/portage/make.conf/20-binpkgs.conf b/yellow/portage/host/etc/portage/make.conf/20-binpkgs.conf deleted file mode 100644 index d2fb18f..0000000 --- a/yellow/portage/host/etc/portage/make.conf/20-binpkgs.conf +++ /dev/null @@ -1,2 +0,0 @@ -FEATURES="${FEATURES} binpkg-multi-instance buildpkg" -EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg --binpkg-respect-use=y" diff --git a/yellow/portage/host/etc/portage/make.conf/80-quiet.conf b/yellow/portage/host/etc/portage/make.conf/80-quiet.conf deleted file mode 100644 index 430d5b1..0000000 --- a/yellow/portage/host/etc/portage/make.conf/80-quiet.conf +++ /dev/null @@ -1,2 +0,0 @@ -EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --quiet-build=y --quiet-fail=y" -FEATURES="${FEATURES} -news" diff --git a/yellow/portage/host/etc/portage/make.profile b/yellow/portage/host/etc/portage/make.profile deleted file mode 120000 index 228f629..0000000 --- a/yellow/portage/host/etc/portage/make.profile +++ /dev/null @@ -1 +0,0 @@ -/var/db/repos/gentoo/profiles/default/linux/amd64/17.1/no-multilib \ No newline at end of file diff --git a/yellow/portage/host/etc/portage/package.accept_keywords/genimage b/yellow/portage/host/etc/portage/package.accept_keywords/genimage deleted file mode 100644 index 7aae8d6..0000000 --- a/yellow/portage/host/etc/portage/package.accept_keywords/genimage +++ /dev/null @@ -1 +0,0 @@ -sys-fs/genimage ~amd64 diff --git a/yellow/portage/host/etc/portage/package.accept_keywords/kernel b/yellow/portage/host/etc/portage/package.accept_keywords/kernel deleted file mode 100644 index 76aa542..0000000 --- a/yellow/portage/host/etc/portage/package.accept_keywords/kernel +++ /dev/null @@ -1 +0,0 @@ -sys-kernel/raspberrypi-sources ** diff --git a/yellow/portage/host/etc/portage/package.env/kernel b/yellow/portage/host/etc/portage/package.env/kernel deleted file mode 100644 index c553338..0000000 --- a/yellow/portage/host/etc/portage/package.env/kernel +++ /dev/null @@ -1,6 +0,0 @@ -# vim: set ft=gentoo-package-use : - -# Dustin C. Hatch (09 Feb 2023) -# Do not build binary packages for kernel sources -sys-kernel/gentoo-sources nobuildpkg -sys-kernel/raspberrypi-sources nobuildpkg diff --git a/yellow/portage/host/etc/portage/package.use/btrfs-progs b/yellow/portage/host/etc/portage/package.use/btrfs-progs deleted file mode 100644 index eca7fed..0000000 --- a/yellow/portage/host/etc/portage/package.use/btrfs-progs +++ /dev/null @@ -1 +0,0 @@ -sys-fs/btrfs-progs -man diff --git a/yellow/portage/host/etc/portage/package.use/git b/yellow/portage/host/etc/portage/package.use/git deleted file mode 100644 index 46e62d2..0000000 --- a/yellow/portage/host/etc/portage/package.use/git +++ /dev/null @@ -1 +0,0 @@ -dev-vcs/git -perl diff --git a/yellow/portage/host/etc/portage/package.use/grub b/yellow/portage/host/etc/portage/package.use/grub deleted file mode 100644 index e032517..0000000 --- a/yellow/portage/host/etc/portage/package.use/grub +++ /dev/null @@ -1 +0,0 @@ -sys-boot/grub -* GRUB_PLATFORMS: -* diff --git a/yellow/portage/host/etc/portage/package.use/kernel b/yellow/portage/host/etc/portage/package.use/kernel deleted file mode 100644 index 5f091c9..0000000 --- a/yellow/portage/host/etc/portage/package.use/kernel +++ /dev/null @@ -1,2 +0,0 @@ -sys-kernel/gentoo-sources symlink -sys-kernel/raspberrypi-sources symlink diff --git a/yellow/portage/host/etc/portage/package.use/selinux b/yellow/portage/host/etc/portage/package.use/selinux deleted file mode 100644 index 14ea6e0..0000000 --- a/yellow/portage/host/etc/portage/package.use/selinux +++ /dev/null @@ -1,2 +0,0 @@ -sys-libs/libselinux python -sys-process/audit python diff --git a/yellow/portage/host/etc/portage/package.use/squashfs-tools b/yellow/portage/host/etc/portage/package.use/squashfs-tools deleted file mode 100644 index 27ddfb0..0000000 --- a/yellow/portage/host/etc/portage/package.use/squashfs-tools +++ /dev/null @@ -1 +0,0 @@ -sys-fs/squashfs-tools zstd diff --git a/yellow/portage/host/etc/portage/package.use/systemd b/yellow/portage/host/etc/portage/package.use/systemd deleted file mode 100644 index 30cb08f..0000000 --- a/yellow/portage/host/etc/portage/package.use/systemd +++ /dev/null @@ -1,4 +0,0 @@ -sys-apps/dbus systemd -sys-apps/systemd -* -sec-policy/selinux-base systemd -sec-policy/selinux-base-policy systemd diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch deleted file mode 100644 index d2ef2f3..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch +++ /dev/null @@ -1,659 +0,0 @@ -From b28a8f5b591841f88f19cbf9850d713a602d912e Mon Sep 17 00:00:00 2001 -Message-Id: -From: Stefan Agner -Date: Mon, 11 Apr 2022 14:47:59 +0200 -Subject: [PATCH] ARM: dts: bcm2711: Add device tree for Home Assistant Yellow - -Add device tree for Home Assistant Yellow, a Compute Module 4 based I/O -board. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/Makefile | 3 +- - .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 598 ++++++++++++++++++ - arch/arm64/boot/dts/broadcom/Makefile | 1 + - .../broadcom/bcm2711-rpi-cm4-ha-yellow.dts | 1 + - 4 files changed, 602 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts - create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts - -diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index 3dfe451bcb16..d147c3400732 100644 ---- a/arch/arm/boot/dts/Makefile -+++ b/arch/arm/boot/dts/Makefile -@@ -18,7 +18,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ - bcm2709-rpi-cm2.dtb \ - bcm2710-rpi-cm3.dtb \ - bcm2711-rpi-cm4.dtb \ -- bcm2711-rpi-cm4s.dtb -+ bcm2711-rpi-cm4s.dtb \ -+ bcm2711-rpi-cm4-ha-yellow.dtb - - dtb-$(CONFIG_ARCH_ALPINE) += \ - alpine-db.dtb -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -new file mode 100644 -index 000000000000..61d8c81d3de4 ---- /dev/null -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -0,0 +1,598 @@ -+// SPDX-License-Identifier: GPL-2.0 -+/dts-v1/; -+#include "bcm2711.dtsi" -+#include "bcm2711-rpi.dtsi" -+//#include "bcm283x-rpi-usb-peripheral.dtsi" -+ -+/ { -+ compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; -+ model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; -+ -+ chosen { -+ /* 8250 auxiliary UART instead of pl011 */ -+ stdout-path = "serial1:115200n8"; -+ }; -+ -+ leds { -+ led-act { -+ gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -+ }; -+ -+ led-pwr { -+ label = "PWR"; -+ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; -+ default-state = "keep"; -+ linux,default-trigger = "default-on"; -+ }; -+ }; -+ -+ wifi_pwrseq: wifi-pwrseq { -+ compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; -+ }; -+ -+ sd_io_1v8_reg: sd_io_1v8_reg { -+ compatible = "regulator-gpio"; -+ regulator-name = "vdd-sd-io"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-settling-time-us = <5000>; -+ gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; -+ states = <1800000 0x1>, -+ <3300000 0x0>; -+ status = "okay"; -+ }; -+ -+ sd_vcc_reg: sd_vcc_reg { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-sd"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-boot-on; -+ enable-active-high; -+ gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>; -+ }; -+}; -+ -+&ddc0 { -+ status = "okay"; -+}; -+ -+&ddc1 { -+ status = "okay"; -+}; -+ -+&expgpio { -+ gpio-line-names = "BT_ON", -+ "WL_ON", -+ "PWR_LED_OFF", -+ "ANT1", -+ "VDD_SD_IO_SEL", -+ "CAM_GPIO", -+ "SD_PWR_ON", -+ "ANT2"; -+ -+ ant1: ant1 { -+ gpio-hog; -+ gpios = <3 GPIO_ACTIVE_HIGH>; -+ output-high; -+ }; -+ -+ ant2: ant2 { -+ gpio-hog; -+ gpios = <7 GPIO_ACTIVE_HIGH>; -+ output-low; -+ }; -+}; -+ -+&gpio { -+ /* -+ * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and -+ * the official GPU firmware DT blob. -+ * -+ * Legend: -+ * "FOO" = GPIO line named "FOO" on the schematic -+ * "FOO_N" = GPIO line named "FOO" on schematic, active low -+ */ -+ gpio-line-names = "ID_SDA", -+ "ID_SCL", -+ "SDA1", -+ "SCL1", -+ "GPIO_GCLK", -+ "GPIO5", -+ "GPIO6", -+ "SPI_CE1_N", -+ "SPI_CE0_N", -+ "SPI_MISO", -+ "SPI_MOSI", -+ "SPI_SCLK", -+ "GPIO12", -+ "GPIO13", -+ /* Serial port */ -+ "TXD1", -+ "RXD1", -+ "GPIO16", -+ "GPIO17", -+ "GPIO18", -+ "GPIO19", -+ "GPIO20", -+ "GPIO21", -+ "GPIO22", -+ "GPIO23", -+ "GPIO24", -+ "GPIO25", -+ "GPIO26", -+ "GPIO27", -+ "RGMII_MDIO", -+ "RGMIO_MDC", -+ /* Used by BT module */ -+ "CTS0", -+ "RTS0", -+ "TXD0", -+ "RXD0", -+ /* Used by Wifi */ -+ "SD1_CLK", -+ "SD1_CMD", -+ "SD1_DATA0", -+ "SD1_DATA1", -+ "SD1_DATA2", -+ "SD1_DATA3", -+ /* Shared with SPI flash */ -+ "PWM0_MISO", -+ "PWM1_MOSI", -+ "STATUS_LED_G_CLK", -+ "SPIFLASH_CE_N", -+ "SDA0", -+ "SCL0", -+ "RGMII_RXCLK", -+ "RGMII_RXCTL", -+ "RGMII_RXD0", -+ "RGMII_RXD1", -+ "RGMII_RXD2", -+ "RGMII_RXD3", -+ "RGMII_TXCLK", -+ "RGMII_TXCTL", -+ "RGMII_TXD0", -+ "RGMII_TXD1", -+ "RGMII_TXD2", -+ "RGMII_TXD3"; -+}; -+ -+&hdmi0 { -+ status = "okay"; -+}; -+ -+&hdmi1 { -+ status = "okay"; -+}; -+ -+&pixelvalve0 { -+ status = "okay"; -+}; -+ -+&pixelvalve1 { -+ status = "okay"; -+}; -+ -+&pixelvalve2 { -+ status = "okay"; -+}; -+ -+&pixelvalve4 { -+ status = "okay"; -+}; -+ -+&pwm1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; -+ status = "okay"; -+}; -+ -+/* SDHCI is used to control the SDIO for wireless */ -+&sdhci { -+ #address-cells = <1>; -+ #size-cells = <0>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&emmc_gpio34>; -+ bus-width = <4>; -+ non-removable; -+ mmc-pwrseq = <&wifi_pwrseq>; -+ status = "okay"; -+ -+ brcmf: wifi@1 { -+ reg = <1>; -+ compatible = "brcm,bcm4329-fmac"; -+ }; -+}; -+ -+/* EMMC2 is used to drive the EMMC card */ -+&emmc2 { -+ bus-width = <8>; -+ vqmmc-supply = <&sd_io_1v8_reg>; -+ vmmc-supply = <&sd_vcc_reg>; -+ broken-cd; -+ status = "okay"; -+}; -+ -+&genet { -+ phy-handle = <&phy1>; -+ phy-mode = "rgmii-rxid"; -+ status = "okay"; -+}; -+ -+&genet_mdio { -+ phy1: ethernet-phy@0 { -+ /* No PHY interrupt */ -+ reg = <0x0>; -+ }; -+}; -+ -+&pcie0 { -+ pci@0,0 { -+ device-type = "pci"; -+ #address-cells = <3>; -+ #size-cells = <2>; -+ ranges; -+ -+ reg = <0 0 0 0 0>; -+ }; -+}; -+ -+/* uart0 communicates with the BT module */ -+&uart0 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; -+ uart-has-rtscts; -+ status = "okay"; -+ -+ bluetooth { -+ compatible = "brcm,bcm43438-bt"; -+ max-speed = <2000000>; -+ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; -+ }; -+}; -+ -+/* uart1 is mapped to the pin header */ -+&uart1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart1_gpio14>; -+ status = "okay"; -+}; -+ -+&vchiq { -+ interrupts = ; -+}; -+ -+&vc4 { -+ status = "okay"; -+}; -+ -+&vec { -+ status = "disabled"; -+}; -+ -+// ============================================= -+// Downstream rpi- changes -+ -+#define BCM2711 -+ -+#include "bcm270x.dtsi" -+#include "bcm271x-rpi-bt.dtsi" -+ -+/ { -+ soc { -+ /delete-node/ pixelvalve@7e807000; -+ /delete-node/ hdmi@7e902000; -+ }; -+}; -+ -+#include "bcm2711-rpi-ds.dtsi" -+#include "bcm283x-rpi-csi0-2lane.dtsi" -+#include "bcm283x-rpi-csi1-4lane.dtsi" -+#include "bcm283x-rpi-i2c0mux_0_44.dtsi" -+ -+/ { -+ chosen { -+ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1"; -+ }; -+ -+ aliases { -+ serial0 = &uart1; -+ serial1 = &uart0; -+ mmc0 = &emmc2; -+ mmc1 = &mmcnr; -+ mmc2 = &sdhost; -+ i2c3 = &i2c3; -+ i2c4 = &i2c4; -+ i2c5 = &i2c5; -+ i2c6 = &i2c6; -+ i2c20 = &ddc0; -+ i2c21 = &ddc1; -+ spi3 = &spi3; -+ spi4 = &spi4; -+ spi5 = &spi5; -+ spi6 = &spi6; -+ /delete-property/ intc; -+ }; -+ -+ /delete-node/ wifi-pwrseq; -+}; -+ -+&mmcnr { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&sdio_pins>; -+ bus-width = <4>; -+ status = "okay"; -+}; -+ -+&uart0 { -+ pinctrl-0 = <&uart0_pins &bt_pins>; -+ status = "okay"; -+}; -+ -+&uart1 { -+ pinctrl-0 = <&uart1_pins>; -+}; -+ -+&spi0 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; -+ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; -+ -+ spidev0: spidev@0{ -+ compatible = "spidev"; -+ reg = <0>; /* CE0 */ -+ #address-cells = <1>; -+ #size-cells = <0>; -+ spi-max-frequency = <125000000>; -+ }; -+ -+ spidev1: spidev@1{ -+ compatible = "spidev"; -+ reg = <1>; /* CE1 */ -+ #address-cells = <1>; -+ #size-cells = <0>; -+ spi-max-frequency = <125000000>; -+ }; -+}; -+ -+&gpio { -+ spi0_pins: spi0_pins { -+ brcm,pins = <9 10 11>; -+ brcm,function = ; -+ }; -+ -+ spi0_cs_pins: spi0_cs_pins { -+ brcm,pins = <8 7>; -+ brcm,function = ; -+ }; -+ -+ spi3_pins: spi3_pins { -+ brcm,pins = <1 2 3>; -+ brcm,function = ; -+ }; -+ -+ spi3_cs_pins: spi3_cs_pins { -+ brcm,pins = <0 24>; -+ brcm,function = ; -+ }; -+ -+ spi4_pins: spi4_pins { -+ brcm,pins = <5 6 7>; -+ brcm,function = ; -+ }; -+ -+ spi4_cs_pins: spi4_cs_pins { -+ brcm,pins = <4 25>; -+ brcm,function = ; -+ }; -+ -+ spi5_pins: spi5_pins { -+ brcm,pins = <13 14 15>; -+ brcm,function = ; -+ }; -+ -+ spi5_cs_pins: spi5_cs_pins { -+ brcm,pins = <12 26>; -+ brcm,function = ; -+ }; -+ -+ spi6_pins: spi6_pins { -+ brcm,pins = <19 20 21>; -+ brcm,function = ; -+ }; -+ -+ spi6_cs_pins: spi6_cs_pins { -+ brcm,pins = <18 27>; -+ brcm,function = ; -+ }; -+ -+ i2c0_pins: i2c0 { -+ brcm,pins = <0 1>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c1_pins: i2c1 { -+ brcm,pins = <2 3>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c3_pins: i2c3 { -+ brcm,pins = <4 5>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c4_pins: i2c4 { -+ brcm,pins = <8 9>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c5_pins: i2c5 { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c6_pins: i2c6 { -+ brcm,pins = <22 23>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2s_pins: i2s { -+ brcm,pins = <18 19 20 21>; -+ brcm,function = ; -+ }; -+ -+ sdio_pins: sdio_pins { -+ brcm,pins = <34 35 36 37 38 39>; -+ brcm,function = ; // alt3 = SD1 -+ brcm,pull = <0 2 2 2 2 2>; -+ }; -+ -+ bt_pins: bt_pins { -+ brcm,pins = "-"; // non-empty to keep btuart happy, //4 = 0 -+ // to fool pinctrl -+ brcm,function = <0>; -+ brcm,pull = <2>; -+ }; -+ -+ uart0_pins: uart0_pins { -+ brcm,pins = <32 33>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart1_pins: uart1_pins { -+ brcm,pins; -+ brcm,function; -+ brcm,pull; -+ }; -+ -+ uart2_pins: uart2_pins { -+ brcm,pins = <0 1>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart3_pins: uart3_pins { -+ brcm,pins = <4 5>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart4_pins: uart4_pins { -+ brcm,pins = <8 9>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart5_pins: uart5_pins { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+}; -+ -+&i2c0if { -+ clock-frequency = <100000>; -+}; -+ -+&i2c1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2c1_pins>; -+ clock-frequency = <100000>; -+}; -+ -+&i2s { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2s_pins>; -+}; -+ -+// ============================================= -+// Board specific stuff here -+ -+&pcie0 { -+ brcm,enable-l1ss; -+}; -+ -+&sdhost { -+ status = "disabled"; -+}; -+ -+&phy1 { -+ led-modes = <0x00 0x08>; /* link/activity link */ -+}; -+ -+&gpio { -+ audio_pins: audio_pins { -+ brcm,pins = <>; -+ brcm,function = <>; -+ }; -+}; -+ -+&leds { -+ act_led: led-act { -+ label = "led0"; -+ linux,default-trigger = "mmc0"; -+ gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -+ }; -+ -+ pwr_led: led-pwr { -+ label = "led1"; -+ linux,default-trigger = "default-on"; -+ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; -+ }; -+}; -+ -+&pwm1 { -+ status = "disabled"; -+}; -+ -+&audio { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&audio_pins>; -+ brcm,disable-headphones = <1>; -+}; -+ -+cam0_reg: &cam1_reg { -+ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; -+}; -+ -+/ { -+ __overrides__ { -+ act_led_gpio = <&act_led>,"gpios:4"; -+ act_led_activelow = <&act_led>,"gpios:8"; -+ act_led_trigger = <&act_led>,"linux,default-trigger"; -+ -+ pwr_led_gpio = <&pwr_led>,"gpios:4"; -+ pwr_led_activelow = <&pwr_led>,"gpios:8"; -+ pwr_led_trigger = <&pwr_led>,"linux,default-trigger"; -+ -+ eth_led0 = <&phy1>,"led-modes:0"; -+ eth_led1 = <&phy1>,"led-modes:4"; -+ -+ ant1 = <&ant1>,"output-high?=on", -+ <&ant1>, "output-low?=off", -+ <&ant2>, "output-high?=off", -+ <&ant2>, "output-low?=on"; -+ ant2 = <&ant1>,"output-high?=off", -+ <&ant1>, "output-low?=on", -+ <&ant2>, "output-high?=on", -+ <&ant2>, "output-low?=off"; -+ noant = <&ant1>,"output-high?=off", -+ <&ant1>, "output-low?=on", -+ <&ant2>, "output-high?=off", -+ <&ant2>, "output-low?=on"; -+ -+ sd_poll_once = <&emmc2>, "non-removable?"; -+ spi_dma4 = <&spi0>, "dmas:0=", <&dma40>, -+ <&spi0>, "dmas:8=", <&dma40>; -+ }; -+}; -diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile -index 9873335d0ed2..8c19b62e189e 100644 ---- a/arch/arm64/boot/dts/broadcom/Makefile -+++ b/arch/arm64/boot/dts/broadcom/Makefile -@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb - dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb - dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4.dtb - dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4s.dtb -+dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4-ha-yellow.dtb - - subdir-y += bcm4908 - subdir-y += northstar2 -diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts -new file mode 100644 -index 000000000000..fdc5ec5bc956 ---- /dev/null -+++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts -@@ -0,0 +1 @@ -+#include "../../../../arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts" --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch2 b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch2 deleted file mode 100644 index 05ca786..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch2 +++ /dev/null @@ -1,656 +0,0 @@ -From b28a8f5b591841f88f19cbf9850d713a602d912e Mon Sep 17 00:00:00 2001 -Message-Id: -From: Stefan Agner -Date: Mon, 11 Apr 2022 14:47:59 +0200 -Subject: [PATCH] ARM: dts: bcm2711: Add device tree for Home Assistant Yellow - -Add device tree for Home Assistant Yellow, a Compute Module 4 based I/O -board. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/Makefile | 3 +- - .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 598 ++++++++++++++++++ - arch/arm64/boot/dts/broadcom/Makefile | 1 + - .../broadcom/bcm2711-rpi-cm4-ha-yellow.dts | 1 + - 4 files changed, 602 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts - create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts - -diff -ruN a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile ---- a/arch/arm/boot/dts/Makefile 2023-02-09 15:33:00.362946319 -0000 -+++ b/arch/arm/boot/dts/Makefile 2023-02-09 15:35:14.619413829 -0000 -@@ -93,7 +93,8 @@ - bcm2711-rpi-400.dtb \ - bcm2711-rpi-4-b.dtb \ - bcm2835-rpi-zero.dtb \ -- bcm2835-rpi-zero-w.dtb -+ bcm2835-rpi-zero-w.dtb \ -+ bcm2711-rpi-cm4-ha-yellow.dtb - dtb-$(CONFIG_ARCH_BCM_5301X) += \ - bcm4708-asus-rt-ac56u.dtb \ - bcm4708-asus-rt-ac68u.dtb \ -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -new file mode 100644 -index 000000000000..61d8c81d3de4 ---- /dev/null -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -0,0 +1,598 @@ -+// SPDX-License-Identifier: GPL-2.0 -+/dts-v1/; -+#include "bcm2711.dtsi" -+#include "bcm2711-rpi.dtsi" -+//#include "bcm283x-rpi-usb-peripheral.dtsi" -+ -+/ { -+ compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; -+ model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; -+ -+ chosen { -+ /* 8250 auxiliary UART instead of pl011 */ -+ stdout-path = "serial1:115200n8"; -+ }; -+ -+ leds { -+ led-act { -+ gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -+ }; -+ -+ led-pwr { -+ label = "PWR"; -+ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; -+ default-state = "keep"; -+ linux,default-trigger = "default-on"; -+ }; -+ }; -+ -+ wifi_pwrseq: wifi-pwrseq { -+ compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; -+ }; -+ -+ sd_io_1v8_reg: sd_io_1v8_reg { -+ compatible = "regulator-gpio"; -+ regulator-name = "vdd-sd-io"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-settling-time-us = <5000>; -+ gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>; -+ states = <1800000 0x1>, -+ <3300000 0x0>; -+ status = "okay"; -+ }; -+ -+ sd_vcc_reg: sd_vcc_reg { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-sd"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-boot-on; -+ enable-active-high; -+ gpio = <&expgpio 6 GPIO_ACTIVE_HIGH>; -+ }; -+}; -+ -+&ddc0 { -+ status = "okay"; -+}; -+ -+&ddc1 { -+ status = "okay"; -+}; -+ -+&expgpio { -+ gpio-line-names = "BT_ON", -+ "WL_ON", -+ "PWR_LED_OFF", -+ "ANT1", -+ "VDD_SD_IO_SEL", -+ "CAM_GPIO", -+ "SD_PWR_ON", -+ "ANT2"; -+ -+ ant1: ant1 { -+ gpio-hog; -+ gpios = <3 GPIO_ACTIVE_HIGH>; -+ output-high; -+ }; -+ -+ ant2: ant2 { -+ gpio-hog; -+ gpios = <7 GPIO_ACTIVE_HIGH>; -+ output-low; -+ }; -+}; -+ -+&gpio { -+ /* -+ * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and -+ * the official GPU firmware DT blob. -+ * -+ * Legend: -+ * "FOO" = GPIO line named "FOO" on the schematic -+ * "FOO_N" = GPIO line named "FOO" on schematic, active low -+ */ -+ gpio-line-names = "ID_SDA", -+ "ID_SCL", -+ "SDA1", -+ "SCL1", -+ "GPIO_GCLK", -+ "GPIO5", -+ "GPIO6", -+ "SPI_CE1_N", -+ "SPI_CE0_N", -+ "SPI_MISO", -+ "SPI_MOSI", -+ "SPI_SCLK", -+ "GPIO12", -+ "GPIO13", -+ /* Serial port */ -+ "TXD1", -+ "RXD1", -+ "GPIO16", -+ "GPIO17", -+ "GPIO18", -+ "GPIO19", -+ "GPIO20", -+ "GPIO21", -+ "GPIO22", -+ "GPIO23", -+ "GPIO24", -+ "GPIO25", -+ "GPIO26", -+ "GPIO27", -+ "RGMII_MDIO", -+ "RGMIO_MDC", -+ /* Used by BT module */ -+ "CTS0", -+ "RTS0", -+ "TXD0", -+ "RXD0", -+ /* Used by Wifi */ -+ "SD1_CLK", -+ "SD1_CMD", -+ "SD1_DATA0", -+ "SD1_DATA1", -+ "SD1_DATA2", -+ "SD1_DATA3", -+ /* Shared with SPI flash */ -+ "PWM0_MISO", -+ "PWM1_MOSI", -+ "STATUS_LED_G_CLK", -+ "SPIFLASH_CE_N", -+ "SDA0", -+ "SCL0", -+ "RGMII_RXCLK", -+ "RGMII_RXCTL", -+ "RGMII_RXD0", -+ "RGMII_RXD1", -+ "RGMII_RXD2", -+ "RGMII_RXD3", -+ "RGMII_TXCLK", -+ "RGMII_TXCTL", -+ "RGMII_TXD0", -+ "RGMII_TXD1", -+ "RGMII_TXD2", -+ "RGMII_TXD3"; -+}; -+ -+&hdmi0 { -+ status = "okay"; -+}; -+ -+&hdmi1 { -+ status = "okay"; -+}; -+ -+&pixelvalve0 { -+ status = "okay"; -+}; -+ -+&pixelvalve1 { -+ status = "okay"; -+}; -+ -+&pixelvalve2 { -+ status = "okay"; -+}; -+ -+&pixelvalve4 { -+ status = "okay"; -+}; -+ -+&pwm1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; -+ status = "okay"; -+}; -+ -+/* SDHCI is used to control the SDIO for wireless */ -+&sdhci { -+ #address-cells = <1>; -+ #size-cells = <0>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&emmc_gpio34>; -+ bus-width = <4>; -+ non-removable; -+ mmc-pwrseq = <&wifi_pwrseq>; -+ status = "okay"; -+ -+ brcmf: wifi@1 { -+ reg = <1>; -+ compatible = "brcm,bcm4329-fmac"; -+ }; -+}; -+ -+/* EMMC2 is used to drive the EMMC card */ -+&emmc2 { -+ bus-width = <8>; -+ vqmmc-supply = <&sd_io_1v8_reg>; -+ vmmc-supply = <&sd_vcc_reg>; -+ broken-cd; -+ status = "okay"; -+}; -+ -+&genet { -+ phy-handle = <&phy1>; -+ phy-mode = "rgmii-rxid"; -+ status = "okay"; -+}; -+ -+&genet_mdio { -+ phy1: ethernet-phy@0 { -+ /* No PHY interrupt */ -+ reg = <0x0>; -+ }; -+}; -+ -+&pcie0 { -+ pci@0,0 { -+ device-type = "pci"; -+ #address-cells = <3>; -+ #size-cells = <2>; -+ ranges; -+ -+ reg = <0 0 0 0 0>; -+ }; -+}; -+ -+/* uart0 communicates with the BT module */ -+&uart0 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; -+ uart-has-rtscts; -+ status = "okay"; -+ -+ bluetooth { -+ compatible = "brcm,bcm43438-bt"; -+ max-speed = <2000000>; -+ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; -+ }; -+}; -+ -+/* uart1 is mapped to the pin header */ -+&uart1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart1_gpio14>; -+ status = "okay"; -+}; -+ -+&vchiq { -+ interrupts = ; -+}; -+ -+&vc4 { -+ status = "okay"; -+}; -+ -+&vec { -+ status = "disabled"; -+}; -+ -+// ============================================= -+// Downstream rpi- changes -+ -+#define BCM2711 -+ -+#include "bcm270x.dtsi" -+#include "bcm271x-rpi-bt.dtsi" -+ -+/ { -+ soc { -+ /delete-node/ pixelvalve@7e807000; -+ /delete-node/ hdmi@7e902000; -+ }; -+}; -+ -+#include "bcm2711-rpi-ds.dtsi" -+#include "bcm283x-rpi-csi0-2lane.dtsi" -+#include "bcm283x-rpi-csi1-4lane.dtsi" -+#include "bcm283x-rpi-i2c0mux_0_44.dtsi" -+ -+/ { -+ chosen { -+ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1"; -+ }; -+ -+ aliases { -+ serial0 = &uart1; -+ serial1 = &uart0; -+ mmc0 = &emmc2; -+ mmc1 = &mmcnr; -+ mmc2 = &sdhost; -+ i2c3 = &i2c3; -+ i2c4 = &i2c4; -+ i2c5 = &i2c5; -+ i2c6 = &i2c6; -+ i2c20 = &ddc0; -+ i2c21 = &ddc1; -+ spi3 = &spi3; -+ spi4 = &spi4; -+ spi5 = &spi5; -+ spi6 = &spi6; -+ /delete-property/ intc; -+ }; -+ -+ /delete-node/ wifi-pwrseq; -+}; -+ -+&mmcnr { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&sdio_pins>; -+ bus-width = <4>; -+ status = "okay"; -+}; -+ -+&uart0 { -+ pinctrl-0 = <&uart0_pins &bt_pins>; -+ status = "okay"; -+}; -+ -+&uart1 { -+ pinctrl-0 = <&uart1_pins>; -+}; -+ -+&spi0 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&spi0_pins &spi0_cs_pins>; -+ cs-gpios = <&gpio 8 1>, <&gpio 7 1>; -+ -+ spidev0: spidev@0{ -+ compatible = "spidev"; -+ reg = <0>; /* CE0 */ -+ #address-cells = <1>; -+ #size-cells = <0>; -+ spi-max-frequency = <125000000>; -+ }; -+ -+ spidev1: spidev@1{ -+ compatible = "spidev"; -+ reg = <1>; /* CE1 */ -+ #address-cells = <1>; -+ #size-cells = <0>; -+ spi-max-frequency = <125000000>; -+ }; -+}; -+ -+&gpio { -+ spi0_pins: spi0_pins { -+ brcm,pins = <9 10 11>; -+ brcm,function = ; -+ }; -+ -+ spi0_cs_pins: spi0_cs_pins { -+ brcm,pins = <8 7>; -+ brcm,function = ; -+ }; -+ -+ spi3_pins: spi3_pins { -+ brcm,pins = <1 2 3>; -+ brcm,function = ; -+ }; -+ -+ spi3_cs_pins: spi3_cs_pins { -+ brcm,pins = <0 24>; -+ brcm,function = ; -+ }; -+ -+ spi4_pins: spi4_pins { -+ brcm,pins = <5 6 7>; -+ brcm,function = ; -+ }; -+ -+ spi4_cs_pins: spi4_cs_pins { -+ brcm,pins = <4 25>; -+ brcm,function = ; -+ }; -+ -+ spi5_pins: spi5_pins { -+ brcm,pins = <13 14 15>; -+ brcm,function = ; -+ }; -+ -+ spi5_cs_pins: spi5_cs_pins { -+ brcm,pins = <12 26>; -+ brcm,function = ; -+ }; -+ -+ spi6_pins: spi6_pins { -+ brcm,pins = <19 20 21>; -+ brcm,function = ; -+ }; -+ -+ spi6_cs_pins: spi6_cs_pins { -+ brcm,pins = <18 27>; -+ brcm,function = ; -+ }; -+ -+ i2c0_pins: i2c0 { -+ brcm,pins = <0 1>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c1_pins: i2c1 { -+ brcm,pins = <2 3>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c3_pins: i2c3 { -+ brcm,pins = <4 5>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c4_pins: i2c4 { -+ brcm,pins = <8 9>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c5_pins: i2c5 { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2c6_pins: i2c6 { -+ brcm,pins = <22 23>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ -+ i2s_pins: i2s { -+ brcm,pins = <18 19 20 21>; -+ brcm,function = ; -+ }; -+ -+ sdio_pins: sdio_pins { -+ brcm,pins = <34 35 36 37 38 39>; -+ brcm,function = ; // alt3 = SD1 -+ brcm,pull = <0 2 2 2 2 2>; -+ }; -+ -+ bt_pins: bt_pins { -+ brcm,pins = "-"; // non-empty to keep btuart happy, //4 = 0 -+ // to fool pinctrl -+ brcm,function = <0>; -+ brcm,pull = <2>; -+ }; -+ -+ uart0_pins: uart0_pins { -+ brcm,pins = <32 33>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart1_pins: uart1_pins { -+ brcm,pins; -+ brcm,function; -+ brcm,pull; -+ }; -+ -+ uart2_pins: uart2_pins { -+ brcm,pins = <0 1>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart3_pins: uart3_pins { -+ brcm,pins = <4 5>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart4_pins: uart4_pins { -+ brcm,pins = <8 9>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+ -+ uart5_pins: uart5_pins { -+ brcm,pins = <12 13>; -+ brcm,function = ; -+ brcm,pull = <0 2>; -+ }; -+}; -+ -+&i2c0if { -+ clock-frequency = <100000>; -+}; -+ -+&i2c1 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2c1_pins>; -+ clock-frequency = <100000>; -+}; -+ -+&i2s { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2s_pins>; -+}; -+ -+// ============================================= -+// Board specific stuff here -+ -+&pcie0 { -+ brcm,enable-l1ss; -+}; -+ -+&sdhost { -+ status = "disabled"; -+}; -+ -+&phy1 { -+ led-modes = <0x00 0x08>; /* link/activity link */ -+}; -+ -+&gpio { -+ audio_pins: audio_pins { -+ brcm,pins = <>; -+ brcm,function = <>; -+ }; -+}; -+ -+&leds { -+ act_led: led-act { -+ label = "led0"; -+ linux,default-trigger = "mmc0"; -+ gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -+ }; -+ -+ pwr_led: led-pwr { -+ label = "led1"; -+ linux,default-trigger = "default-on"; -+ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; -+ }; -+}; -+ -+&pwm1 { -+ status = "disabled"; -+}; -+ -+&audio { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&audio_pins>; -+ brcm,disable-headphones = <1>; -+}; -+ -+cam0_reg: &cam1_reg { -+ gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>; -+}; -+ -+/ { -+ __overrides__ { -+ act_led_gpio = <&act_led>,"gpios:4"; -+ act_led_activelow = <&act_led>,"gpios:8"; -+ act_led_trigger = <&act_led>,"linux,default-trigger"; -+ -+ pwr_led_gpio = <&pwr_led>,"gpios:4"; -+ pwr_led_activelow = <&pwr_led>,"gpios:8"; -+ pwr_led_trigger = <&pwr_led>,"linux,default-trigger"; -+ -+ eth_led0 = <&phy1>,"led-modes:0"; -+ eth_led1 = <&phy1>,"led-modes:4"; -+ -+ ant1 = <&ant1>,"output-high?=on", -+ <&ant1>, "output-low?=off", -+ <&ant2>, "output-high?=off", -+ <&ant2>, "output-low?=on"; -+ ant2 = <&ant1>,"output-high?=off", -+ <&ant1>, "output-low?=on", -+ <&ant2>, "output-high?=on", -+ <&ant2>, "output-low?=off"; -+ noant = <&ant1>,"output-high?=off", -+ <&ant1>, "output-low?=on", -+ <&ant2>, "output-high?=off", -+ <&ant2>, "output-low?=on"; -+ -+ sd_poll_once = <&emmc2>, "non-removable?"; -+ spi_dma4 = <&spi0>, "dmas:0=", <&dma40>, -+ <&spi0>, "dmas:8=", <&dma40>; -+ }; -+}; -diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts -new file mode 100644 -index 000000000000..fdc5ec5bc956 ---- /dev/null -+++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts -@@ -0,0 +1 @@ -+#include "../../../../arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts" --- -2.37.3 -diff -ruN a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile ---- a/arch/arm64/boot/dts/broadcom/Makefile 2023-02-09 16:15:32.939847341 -0000 -+++ b/arch/arm64/boot/dts/broadcom/Makefile 2023-02-09 16:16:03.899185742 -0000 -@@ -2,6 +2,7 @@ - dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ - bcm2711-rpi-4-b.dtb \ - bcm2711-rpi-cm4-io.dtb \ -+ bcm2711-rpi-cm4-ha-yellow.dtb \ - bcm2837-rpi-3-a-plus.dtb \ - bcm2837-rpi-3-b.dtb \ - bcm2837-rpi-3-b-plus.dtb \ diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch deleted file mode 100644 index 6b3a27f..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 2230740c7f74678ca80da55f74ccc24f5aa6bd35 Mon Sep 17 00:00:00 2001 -Message-Id: <2230740c7f74678ca80da55f74ccc24f5aa6bd35.1614676528.git.stefan@agner.ch> -From: Pascal Vizeli -Date: Tue, 2 Jun 2020 21:20:08 +0000 -Subject: [PATCH] ARM: dts: bcm283x: add compatible picked up by U-Boot - -Without brcm,bcm2835-pl011 in compatible U-Boot uses the regular PL011 -driver which seems to crash when enable_uart=1 is not used. Using -brcm,bcm2835-pl011 works around that and does not affect Linux since its -not using that compatible string. - -Signed-off-by: Pascal Vizeli -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711.dtsi | 8 ++++---- - arch/arm/boot/dts/bcm283x.dtsi | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi -index b4bca5af95e1..c31b87b5bb3a 100644 ---- a/arch/arm/boot/dts/bcm2711.dtsi -+++ b/arch/arm/boot/dts/bcm2711.dtsi -@@ -127,7 +127,7 @@ rng@7e104000 { - }; - - uart2: serial@7e201400 { -- compatible = "arm,pl011", "arm,primecell"; -+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; - reg = <0x7e201400 0x200>; - interrupts = ; - clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -138,7 +138,7 @@ uart2: serial@7e201400 { - }; - - uart3: serial@7e201600 { -- compatible = "arm,pl011", "arm,primecell"; -+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; - reg = <0x7e201600 0x200>; - interrupts = ; - clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -149,7 +149,7 @@ uart3: serial@7e201600 { - }; - - uart4: serial@7e201800 { -- compatible = "arm,pl011", "arm,primecell"; -+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; - reg = <0x7e201800 0x200>; - interrupts = ; - clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -160,7 +160,7 @@ uart4: serial@7e201800 { - }; - - uart5: serial@7e201a00 { -- compatible = "arm,pl011", "arm,primecell"; -+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; - reg = <0x7e201a00 0x200>; - interrupts = ; - clocks = <&clocks BCM2835_CLOCK_UART>, -diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 346838ee9d21..7f289fbca28c 100644 ---- a/arch/arm/boot/dts/bcm283x.dtsi -+++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -300,7 +300,7 @@ uart1_ctsrts_gpio42: uart1_ctsrts_gpio42 { - }; - - uart0: serial@7e201000 { -- compatible = "arm,pl011", "arm,primecell"; -+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; - reg = <0x7e201000 0x200>; - interrupts = <2 25>; - clocks = <&clocks BCM2835_CLOCK_UART>, --- -2.30.1 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch deleted file mode 100644 index 2609019..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 7eb647452bb1a3294fae8edc5a323070adff922b Mon Sep 17 00:00:00 2001 -Message-Id: <7eb647452bb1a3294fae8edc5a323070adff922b.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Thu, 4 Mar 2021 14:33:09 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: Mux UART4 for SiLabs radio module - -Enable UART4 by default and mux pins including hardware flow control. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 16 ++++++++++++++-- - 1 file changed, 14 insertions(+), 2 deletions(-) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 61d8c81d3de4..8db71876a78c 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -8,6 +8,10 @@ / { - compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; - model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; - -+ aliases { -+ serial4 = &uart4; -+ }; -+ - chosen { - /* 8250 auxiliary UART instead of pl011 */ - stdout-path = "serial1:115200n8"; -@@ -261,6 +265,14 @@ &uart1 { - status = "okay"; - }; - -+/* uart4 for Zigbee */ -+&uart4 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart4_pins>; -+ uart-has-rtscts; -+ status = "okay"; -+}; -+ - &vchiq { - interrupts = ; - }; -@@ -488,9 +500,9 @@ uart3_pins: uart3_pins { - }; - - uart4_pins: uart4_pins { -- brcm,pins = <8 9>; -+ brcm,pins = <8 9 10 11>; - brcm,function = ; -- brcm,pull = <0 2>; -+ brcm,pull = <0 2 2 0>; - }; - - uart5_pins: uart5_pins { --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch deleted file mode 100644 index 79c4a82..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch +++ /dev/null @@ -1,50 +0,0 @@ -From a7b86d8d0d81f841d8399a83f0f59f383d1556ed Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: -From: Stefan Agner -Date: Thu, 4 Mar 2021 14:44:23 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: Mux debug UART5 - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 8db71876a78c..d1dea0a214a6 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -10,6 +10,7 @@ / { - - aliases { - serial4 = &uart4; -+ serial5 = &uart5; - }; - - chosen { -@@ -273,6 +274,13 @@ &uart4 { - status = "okay"; - }; - -+/* uart5 default Debug UART */ -+&uart5 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart5_pins>; -+ status = "okay"; -+}; -+ - &vchiq { - interrupts = ; - }; -@@ -308,6 +316,7 @@ soc { - / { - chosen { - bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1"; -+ stdout-path = "serial5:115200n8"; - }; - - aliases { --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch deleted file mode 100644 index 5e27c4e..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 8ec364f50abcd9f5fa89f421a7ef8f70dfb2564a Mon Sep 17 00:00:00 2001 -Message-Id: <8ec364f50abcd9f5fa89f421a7ef8f70dfb2564a.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Thu, 4 Mar 2021 14:48:48 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: Enable I2C6 by default - -The main I2C bus used on Yellow is I2C6. Enable it by default. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index d1dea0a214a6..0bdbfdd44aed 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -531,6 +531,12 @@ &i2c1 { - clock-frequency = <100000>; - }; - -+&i2c6 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2c6_pins>; -+ status = "okay"; -+}; -+ - &i2s { - pinctrl-names = "default"; - pinctrl-0 = <&i2s_pins>; --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch deleted file mode 100644 index d665248..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 50abc7980f8c575930cc4c928d356763742e81fb Mon Sep 17 00:00:00 2001 -Message-Id: <50abc7980f8c575930cc4c928d356763742e81fb.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Thu, 4 Mar 2021 17:19:01 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: add I2S audio codec - -Add TI PCM5122 I2S audio codec. - -Signed-off-by: Stefan Agner ---- - .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 26 +++++++++++++++++++ - 1 file changed, 26 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 0bdbfdd44aed..f6f42bf45c92 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -535,11 +535,22 @@ &i2c6 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c6_pins>; - status = "okay"; -+ -+ card_codec: pcm5121@4c { -+ #sound-dai-cells = <0>; -+ compatible = "ti,pcm5121"; -+ reg = <0x4c>; -+ AVDD-supply = <&vdd_3v3_reg>; -+ DVDD-supply = <&vdd_3v3_reg>; -+ CPVDD-supply = <&vdd_3v3_reg>; -+ status = "okay"; -+ }; - }; - - &i2s { - pinctrl-names = "default"; - pinctrl-0 = <&i2s_pins>; -+ status = "okay"; - }; - - // ============================================= -@@ -582,6 +593,21 @@ &pwm1 { - status = "disabled"; - }; - -+&sound { -+ compatible = "simple-audio-card"; -+ simple-audio-card,format = "i2s"; -+ simple-audio-card,name = "pcm5121-sound"; -+ status = "okay"; -+ -+ simple-audio-card,cpu { -+ sound-dai = <&i2s>; -+ }; -+ -+ dailink0_slave: simple-audio-card,codec { -+ sound-dai = <&card_codec>; -+ }; -+}; -+ - &audio { - pinctrl-names = "default"; - pinctrl-0 = <&audio_pins>; --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch deleted file mode 100644 index 30fe257..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 67751f4575c3837ada1bdec85184c77ea917b83a Mon Sep 17 00:00:00 2001 -Message-Id: <67751f4575c3837ada1bdec85184c77ea917b83a.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Tue, 9 Mar 2021 15:02:53 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: enable GPIO keys - -Signed-off-by: Stefan Agner ---- - .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 31 +++++++++++++++++++ - 1 file changed, 31 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f6f42bf45c92..e2fa42a11cc9 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -4,6 +4,8 @@ - #include "bcm2711-rpi.dtsi" - //#include "bcm283x-rpi-usb-peripheral.dtsi" - -+#include -+ - / { - compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; - model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; -@@ -18,6 +20,29 @@ chosen { - stdout-path = "serial1:115200n8"; - }; - -+ keys: gpio-keys { -+ compatible = "gpio-keys"; -+ -+ pinctrl-names = "default"; -+ pinctrl-0 = <&gpio_button_pins>; -+ -+ status = "okay"; -+ -+ power { -+ label = "Blue Button"; -+ linux,code = ; -+ gpios = <&gpio 26 GPIO_ACTIVE_LOW>; -+ debounce-interval = <100>; // ms -+ }; -+ -+ user { -+ label = "Red Button"; -+ linux,code = ; -+ gpios = <&gpio 27 GPIO_ACTIVE_LOW>; -+ debounce-interval = <100>; // ms -+ }; -+ }; -+ - leds { - led-act { - gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -@@ -380,6 +405,12 @@ spidev1: spidev@1{ - }; - - &gpio { -+ gpio_button_pins: gpio_button_pins { -+ brcm,pins = <26 27>; -+ brcm,function = ; -+ brcm,pull = ; -+ }; -+ - spi0_pins: spi0_pins { - brcm,pins = <9 10 11>; - brcm,function = ; --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch deleted file mode 100644 index f0c55e5..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch +++ /dev/null @@ -1,43 +0,0 @@ -From e4db609b1080e4aabb027394966c07e050e02aab Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: -From: Stefan Agner -Date: Thu, 28 Oct 2021 19:38:04 +0200 -Subject: [PATCH] ARM: dts: bcm2711: yellow: add user LED - -Add yellow user LED. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index e2fa42a11cc9..6039c7894796 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -336,7 +336,6 @@ soc { - #include "bcm2711-rpi-ds.dtsi" - #include "bcm283x-rpi-csi0-2lane.dtsi" - #include "bcm283x-rpi-csi1-4lane.dtsi" --#include "bcm283x-rpi-i2c0mux_0_44.dtsi" - - / { - chosen { -@@ -618,6 +617,12 @@ pwr_led: led-pwr { - linux,default-trigger = "default-on"; - gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; - }; -+ -+ user_led: led-user { -+ label = "led2"; -+ linux,default-trigger = "heartbeat"; -+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>; -+ }; - }; - - &pwm1 { --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch deleted file mode 100644 index bcf3868..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6625adc479a3e89873127a91064a94881449c0d8 Mon Sep 17 00:00:00 2001 -Message-Id: <6625adc479a3e89873127a91064a94881449c0d8.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Fri, 12 Nov 2021 17:33:32 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: add NXP PCF85063A RTC - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 6039c7894796..f78428ea64f3 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -575,6 +575,11 @@ card_codec: pcm5121@4c { - CPVDD-supply = <&vdd_3v3_reg>; - status = "okay"; - }; -+ -+ pcf85063a: rtc@51 { -+ compatible = "nxp,pcf85063a"; -+ reg = <0x51>; -+ }; - }; - - &i2s { --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch deleted file mode 100644 index c54dcf2..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 1acd279eca810707856e5038438f52d694a62170 Mon Sep 17 00:00:00 2001 -Message-Id: <1acd279eca810707856e5038438f52d694a62170.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Fri, 7 Jan 2022 17:10:00 +0100 -Subject: [PATCH] ARM: dts: bcm2711: yellow: enable USB host mode by default - -The DWC2 controller is disable by default. Enable it since Home -Assistant Yellow has a USB hub and USB ports connected to it. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f78428ea64f3..711a09441ad0 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -599,6 +599,15 @@ &sdhost { - status = "disabled"; - }; - -+&usb { -+ compatible = "brcm,bcm2835-usb"; -+ dr_mode = "host"; -+ g-np-tx-fifo-size = <32>; -+ g-rx-fifo-size = <558>; -+ g-tx-fifo-size = <512 512 512 512 512 256 256>; -+ status = "okay"; -+}; -+ - &phy1 { - led-modes = <0x00 0x08>; /* link/activity link */ - }; --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch deleted file mode 100644 index 5579795..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 92332ba4302096777ea47e408f3406da0b2ef2c5 Mon Sep 17 00:00:00 2001 -Message-Id: <92332ba4302096777ea47e408f3406da0b2ef2c5.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Wed, 27 Apr 2022 20:36:19 +0200 -Subject: [PATCH] ARM: dts: bcm2711: yellow: use generic activity trigger for - green LED - -Use the generic trigger "activity" for the green LED so that any -system activity is shown. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 711a09441ad0..f2f4f1a49592 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -622,7 +622,7 @@ audio_pins: audio_pins { - &leds { - act_led: led-act { - label = "led0"; -- linux,default-trigger = "mmc0"; -+ linux,default-trigger = "activity"; - gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; - }; - --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch deleted file mode 100644 index 1814d54..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 59e44006c1e7406bd1fc52aa9b1fc88a67652ddd Mon Sep 17 00:00:00 2001 -Message-Id: <59e44006c1e7406bd1fc52aa9b1fc88a67652ddd.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: -From: Stefan Agner -Date: Tue, 26 Jul 2022 15:53:59 +0200 -Subject: [PATCH] ARM: dts: bcm2711: yellow: use USB OTG mode by default - -OTG seems to work fine, and allows to use the USB-C port as a USB -peripheral (e.g. in U-Boot via UMS command). - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f2f4f1a49592..f354bfb69093 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -601,7 +601,7 @@ &sdhost { - - &usb { - compatible = "brcm,bcm2835-usb"; -- dr_mode = "host"; -+ dr_mode = "otg"; - g-np-tx-fifo-size = <32>; - g-rx-fifo-size = <558>; - g-tx-fifo-size = <512 512 512 512 512 256 256>; --- -2.37.3 - diff --git a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch b/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch deleted file mode 100644 index e38be67..0000000 --- a/yellow/portage/host/etc/portage/patches/sys-kernel/raspberrypi-sources/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch +++ /dev/null @@ -1,68 +0,0 @@ -From f69ef30ade36371215d02546d603143cc13adef2 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: -From: Stefan Agner -Date: Sat, 30 Jul 2022 11:21:31 +0200 -Subject: [PATCH] ARM: dts: bcm2711: yellow: Add LED overrides - -Add device tree overrides for all three LEDs. - -Signed-off-by: Stefan Agner ---- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) - -diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f354bfb69093..2d272a02128b 100644 ---- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -621,20 +621,24 @@ audio_pins: audio_pins { - - &leds { - act_led: led-act { -- label = "led0"; -+ label = "act"; - linux,default-trigger = "activity"; -+ default-state = "off"; - gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; - }; - - pwr_led: led-pwr { -- label = "led1"; -+ label = "pwr"; - linux,default-trigger = "default-on"; -+ default-state = "off"; - gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; - }; - -- user_led: led-user { -- label = "led2"; -+ usr_led: led-usr { -+ label = "usr"; - linux,default-trigger = "heartbeat"; -+ default-state = "off"; -+ panic-indicator; - gpios = <&gpio 44 GPIO_ACTIVE_LOW>; - }; - }; -@@ -670,14 +674,13 @@ cam0_reg: &cam1_reg { - - / { - __overrides__ { -- act_led_gpio = <&act_led>,"gpios:4"; -- act_led_activelow = <&act_led>,"gpios:8"; - act_led_trigger = <&act_led>,"linux,default-trigger"; - -- pwr_led_gpio = <&pwr_led>,"gpios:4"; - pwr_led_activelow = <&pwr_led>,"gpios:8"; - pwr_led_trigger = <&pwr_led>,"linux,default-trigger"; - -+ usr_led_trigger = <&usr_led>,"linux,default-trigger"; -+ - eth_led0 = <&phy1>,"led-modes:0"; - eth_led1 = <&phy1>,"led-modes:4"; - --- -2.37.3 - diff --git a/yellow/portage/target/etc/portage/env/app-backup/burp b/yellow/portage/target/etc/portage/env/app-backup/burp deleted file mode 100644 index 4238090..0000000 --- a/yellow/portage/target/etc/portage/env/app-backup/burp +++ /dev/null @@ -1 +0,0 @@ -fowners() { :; } diff --git a/yellow/portage/target/etc/portage/env/nobuildpkg b/yellow/portage/target/etc/portage/env/nobuildpkg deleted file mode 100644 index 1d3a766..0000000 --- a/yellow/portage/target/etc/portage/env/nobuildpkg +++ /dev/null @@ -1 +0,0 @@ -FEATURES=-buildpkg diff --git a/yellow/portage/target/etc/portage/make.conf/10-common.conf b/yellow/portage/target/etc/portage/make.conf/10-common.conf deleted file mode 100644 index e10cb85..0000000 --- a/yellow/portage/target/etc/portage/make.conf/10-common.conf +++ /dev/null @@ -1 +0,0 @@ -ACCEPT_KEYWORDS="${ARCH} ~${ARCH}" diff --git a/yellow/portage/target/etc/portage/make.conf/10-crossdev.conf b/yellow/portage/target/etc/portage/make.conf/10-crossdev.conf deleted file mode 100644 index ec81b48..0000000 --- a/yellow/portage/target/etc/portage/make.conf/10-crossdev.conf +++ /dev/null @@ -1,22 +0,0 @@ -# Note: profile variables are set/overridden in profile/ files: -# etc/portage/profile/use.force (overrides kernel_* USE variables) -# etc/portage/profile/make.defaults (overrides ARCH, KERNEL, ELIBC variables) - -CHOST=aarch64-unknown-linux-gnu -CBUILD=x86_64-pc-linux-gnu - -ROOT=/usr/${CHOST}/ - -ACCEPT_KEYWORDS="${ARCH} ~${ARCH}" - -USE="${ARCH}" - -CFLAGS="-O2 -pipe -fomit-frame-pointer" -CXXFLAGS="${CFLAGS}" - -FEATURES="-collision-protect sandbox buildpkg noman noinfo nodoc" -# Be sure we dont overwrite pkgs from another repo.. -PORTAGE_TMPDIR=${ROOT}tmp/ - -PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/" -#PORTDIR_OVERLAY="/var/db/repos/local/" diff --git a/yellow/portage/target/etc/portage/make.conf/20-binpkgs.conf b/yellow/portage/target/etc/portage/make.conf/20-binpkgs.conf deleted file mode 100644 index d2fb18f..0000000 --- a/yellow/portage/target/etc/portage/make.conf/20-binpkgs.conf +++ /dev/null @@ -1,2 +0,0 @@ -FEATURES="${FEATURES} binpkg-multi-instance buildpkg" -EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg --binpkg-respect-use=y" diff --git a/yellow/portage/target/etc/portage/make.conf/30-default-use.conf b/yellow/portage/target/etc/portage/make.conf/30-default-use.conf deleted file mode 100644 index 77072de..0000000 --- a/yellow/portage/target/etc/portage/make.conf/30-default-use.conf +++ /dev/null @@ -1 +0,0 @@ -USE='-man -doc minimal pam zstd' diff --git a/yellow/portage/target/etc/portage/make.conf/40-goarch.conf b/yellow/portage/target/etc/portage/make.conf/40-goarch.conf deleted file mode 100644 index 89195e2..0000000 --- a/yellow/portage/target/etc/portage/make.conf/40-goarch.conf +++ /dev/null @@ -1,2 +0,0 @@ -GOOS=linux -GOARCH=${ARCH} diff --git a/yellow/portage/target/etc/portage/make.conf/40-lang.conf b/yellow/portage/target/etc/portage/make.conf/40-lang.conf deleted file mode 100644 index 0b0f27e..0000000 --- a/yellow/portage/target/etc/portage/make.conf/40-lang.conf +++ /dev/null @@ -1,3 +0,0 @@ -LINGUAS=en -L10N=en-US -USE="${USE} -nls" diff --git a/yellow/portage/target/etc/portage/make.conf/60-selinux.conf b/yellow/portage/target/etc/portage/make.conf/60-selinux.conf deleted file mode 100644 index 7a12e66..0000000 --- a/yellow/portage/target/etc/portage/make.conf/60-selinux.conf +++ /dev/null @@ -1,2 +0,0 @@ -USE="${USE} -unconfined" -POLICY_TYPES=mcs diff --git a/yellow/portage/target/etc/portage/make.conf/80-quiet.conf b/yellow/portage/target/etc/portage/make.conf/80-quiet.conf deleted file mode 100644 index 677144a..0000000 --- a/yellow/portage/target/etc/portage/make.conf/80-quiet.conf +++ /dev/null @@ -1,2 +0,0 @@ -EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --quiet-build=y" -FEATURES="${FEATURES} -news" diff --git a/yellow/portage/target/etc/portage/make.profile b/yellow/portage/target/etc/portage/make.profile deleted file mode 120000 index d3968b4..0000000 --- a/yellow/portage/target/etc/portage/make.profile +++ /dev/null @@ -1 +0,0 @@ -/var/db/repos/gentoo/profiles/default/linux/arm64/17.0/systemd/selinux/merged-usr \ No newline at end of file diff --git a/yellow/portage/target/etc/portage/package.accept_keywords/burp b/yellow/portage/target/etc/portage/package.accept_keywords/burp deleted file mode 100644 index c1728d1..0000000 --- a/yellow/portage/target/etc/portage/package.accept_keywords/burp +++ /dev/null @@ -1 +0,0 @@ -app-backup/burp ** diff --git a/yellow/portage/target/etc/portage/package.env/linux-firmware b/yellow/portage/target/etc/portage/package.env/linux-firmware deleted file mode 100644 index ee995fa..0000000 --- a/yellow/portage/target/etc/portage/package.env/linux-firmware +++ /dev/null @@ -1 +0,0 @@ -sys-kernel/linux-firmware nobuildpkg diff --git a/yellow/portage/target/etc/portage/package.env/raspberrypi-firmware b/yellow/portage/target/etc/portage/package.env/raspberrypi-firmware deleted file mode 100644 index d192af3..0000000 --- a/yellow/portage/target/etc/portage/package.env/raspberrypi-firmware +++ /dev/null @@ -1 +0,0 @@ -sys-boot/raspberrypi-firmware nobuildpkg diff --git a/yellow/portage/target/etc/portage/package.license/firmware b/yellow/portage/target/etc/portage/package.license/firmware deleted file mode 100644 index f57df1a..0000000 --- a/yellow/portage/target/etc/portage/package.license/firmware +++ /dev/null @@ -1,2 +0,0 @@ -sys-boot/raspberrypi-firmware raspberrypi-videocore-bin -sys-kernel/linux-firmware linux-fw-redistributable diff --git a/yellow/portage/target/etc/portage/package.use/awk b/yellow/portage/target/etc/portage/package.use/awk deleted file mode 100644 index ea17975..0000000 --- a/yellow/portage/target/etc/portage/package.use/awk +++ /dev/null @@ -1 +0,0 @@ -app-alternatives/awk -gawk busybox diff --git a/yellow/portage/target/etc/portage/package.use/busybox b/yellow/portage/target/etc/portage/package.use/busybox deleted file mode 100644 index 6be3f3e..0000000 --- a/yellow/portage/target/etc/portage/package.use/busybox +++ /dev/null @@ -1 +0,0 @@ -sys-apps/busybox savedconfig diff --git a/yellow/portage/target/etc/portage/package.use/firmware b/yellow/portage/target/etc/portage/package.use/firmware deleted file mode 100644 index f557164..0000000 --- a/yellow/portage/target/etc/portage/package.use/firmware +++ /dev/null @@ -1 +0,0 @@ -sys-kernel/linux-firmware compress compress-xz savedconfig diff --git a/yellow/portage/target/etc/portage/package.use/go b/yellow/portage/target/etc/portage/package.use/go deleted file mode 100644 index 2b6a6d9..0000000 --- a/yellow/portage/target/etc/portage/package.use/go +++ /dev/null @@ -1 +0,0 @@ -sys-devel/binutils gold diff --git a/yellow/portage/target/etc/portage/package.use/grub b/yellow/portage/target/etc/portage/package.use/grub deleted file mode 100644 index 9ea0163..0000000 --- a/yellow/portage/target/etc/portage/package.use/grub +++ /dev/null @@ -1 +0,0 @@ -sys-boot/grub -* GRUB_PLATFORMS: -* efi-64 diff --git a/yellow/portage/target/etc/portage/package.use/iptables b/yellow/portage/target/etc/portage/package.use/iptables deleted file mode 100644 index 98c61ad..0000000 --- a/yellow/portage/target/etc/portage/package.use/iptables +++ /dev/null @@ -1 +0,0 @@ -net-firewall/iptables conntrack nftables diff --git a/yellow/portage/target/etc/portage/package.use/python b/yellow/portage/target/etc/portage/package.use/python deleted file mode 100644 index 815e2af..0000000 --- a/yellow/portage/target/etc/portage/package.use/python +++ /dev/null @@ -1 +0,0 @@ -dev-lang/python -ensurepip diff --git a/yellow/portage/target/etc/portage/package.use/u-boot b/yellow/portage/target/etc/portage/package.use/u-boot deleted file mode 100644 index 3b9df8b..0000000 --- a/yellow/portage/target/etc/portage/package.use/u-boot +++ /dev/null @@ -1 +0,0 @@ -sys-boot/u-boot savedconfig diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base-policy b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base-policy deleted file mode 120000 index 999e000..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base-policy +++ /dev/null @@ -1 +0,0 @@ -selinux-base \ No newline at end of file diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0001-systemd-Fixes-for-systemd-resolved.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0001-systemd-Fixes-for-systemd-resolved.patch deleted file mode 100644 index c52cec4..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0001-systemd-Fixes-for-systemd-resolved.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 057c4204fc49abd0d908c71aed8d33ea71d55862 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Fri, 3 Mar 2023 15:04:28 -0600 -Subject: [PATCH] systemd: Fixes for systemd-resolved - ---- - refpolicy/policy/modules/system/systemd.te | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/refpolicy/policy/modules/system/systemd.te b/refpolicy/policy/modules/system/systemd.te -index 7cd50f1..a296a7d 100644 ---- a/refpolicy/policy/modules/system/systemd.te -+++ b/refpolicy/policy/modules/system/systemd.te -@@ -236,6 +236,7 @@ init_system_domain(systemd_resolved_t, systemd_resolved_exec_t) - - type systemd_resolved_runtime_t alias systemd_resolved_var_run_t; - files_runtime_file(systemd_resolved_runtime_t) -+init_mountpoint(systemd_resolved_runtime_t) - - type systemd_stdio_bridge_t; - type systemd_stdio_bridge_exec_t; -@@ -1500,6 +1501,7 @@ corenet_tcp_bind_llmnr_port(systemd_resolved_t) - corenet_udp_bind_generic_node(systemd_resolved_t) - corenet_udp_bind_dns_port(systemd_resolved_t) - corenet_udp_bind_llmnr_port(systemd_resolved_t) -+corenet_udp_bind_howl_port(systemd_resolved_t) - - selinux_use_status_page(systemd_resolved_t) - -@@ -1511,6 +1513,7 @@ files_list_runtime(systemd_resolved_t) - - fs_getattr_all_fs(systemd_resolved_t) - fs_search_cgroup_dirs(systemd_resolved_t) -+fs_search_all(systemd_resolved_t) - - init_dgram_send(systemd_resolved_t) - --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0002-mount-Allow-mounting-on-etc_t.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0002-mount-Allow-mounting-on-etc_t.patch deleted file mode 100644 index 333a9db..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0002-mount-Allow-mounting-on-etc_t.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 2f9d6906d2b7bdb58bb83f13e476c7c6c1f8f6dd Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sat, 4 Mar 2023 09:57:44 -0600 -Subject: [PATCH] mount: Allow mounting on etc_t - ---- - refpolicy/policy/modules/system/mount.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/refpolicy/policy/modules/system/mount.te b/refpolicy/policy/modules/system/mount.te -index a90273b..05da48a 100644 ---- a/refpolicy/policy/modules/system/mount.te -+++ b/refpolicy/policy/modules/system/mount.te -@@ -92,6 +92,7 @@ files_manage_etc_runtime_files(mount_t) - files_etc_filetrans_etc_runtime(mount_t, file) - files_mounton_all_mountpoints(mount_t) - files_unmount_rootfs(mount_t) -+files_mounton_etc_dirs(mount_t) - # These rules need to be generalized. Only admin, initrc should have it: - files_relabelto_all_file_type_fs(mount_t) - files_mount_all_file_type_fs(mount_t) --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0003-kernel-Mark-unlabeled_t-as-mount-point-type.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0003-kernel-Mark-unlabeled_t-as-mount-point-type.patch deleted file mode 100644 index 7f93636..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0003-kernel-Mark-unlabeled_t-as-mount-point-type.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 555b08294fccf2c9462ef2e2f61ad1ae730becad Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sat, 4 Mar 2023 10:16:13 -0600 -Subject: [PATCH] kernel: Mark unlabeled_t as mount point type - ---- - refpolicy/policy/modules/kernel/kernel.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/refpolicy/policy/modules/kernel/kernel.te b/refpolicy/policy/modules/kernel/kernel.te -index ae6222c..c24258f 100644 ---- a/refpolicy/policy/modules/kernel/kernel.te -+++ b/refpolicy/policy/modules/kernel/kernel.te -@@ -267,6 +267,7 @@ allow kernel_t sysctl_kernel_ns_last_pid_t:file read_file_perms; - - # Other possible mount points for the root fs are in files - allow kernel_t unlabeled_t:dir mounton; -+files_mountpoint(unlabeled_t) - # Kernel-generated traffic e.g., TCP resets on - # connections with invalidated labels: - allow kernel_t unlabeled_t:packet send; --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0004-Allow-systemd-journald-list-cgroup-directories.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0004-Allow-systemd-journald-list-cgroup-directories.patch deleted file mode 100644 index 9f62121..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0004-Allow-systemd-journald-list-cgroup-directories.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 5f86b48aabef6e2c1a7aa2fdb99a49b27d0629fe Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Mon, 6 Mar 2023 12:10:19 -0600 -Subject: [PATCH] Allow systemd-journald list cgroup directories - ---- - refpolicy/policy/modules/system/logging.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/refpolicy/policy/modules/system/logging.te b/refpolicy/policy/modules/system/logging.te -index 69b7aa4..196f3e0 100644 ---- a/refpolicy/policy/modules/system/logging.te -+++ b/refpolicy/policy/modules/system/logging.te -@@ -500,6 +500,7 @@ files_var_lib_filetrans(syslogd_t, syslogd_var_lib_t, { file dir }) - - fs_getattr_all_fs(syslogd_t) - fs_search_auto_mountpoints(syslogd_t) -+fs_list_cgroup_dirs(syslogd_t) - - mls_file_write_all_levels(syslogd_t) # Need to be able to write to /var/run/ and /var/log directories - --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0005-Allow-systemd-to-create-directories.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0005-Allow-systemd-to-create-directories.patch deleted file mode 100644 index a0d4d60..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0005-Allow-systemd-to-create-directories.patch +++ /dev/null @@ -1,76 +0,0 @@ -From e33a70e7f5efc37b0b12fda775dd6d805ee5c0e1 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Fri, 10 Mar 2023 12:39:41 -0600 -Subject: [PATCH] Allow systemd to create directories - -This allows use of the `RuntimeDirectory`, `StateDirectory`, etc. unit -settings. ---- - refpolicy/policy/modules/kernel/files.if | 18 ++++++++++++++++++ - refpolicy/policy/modules/system/init.te | 14 ++++++++++++++ - 2 files changed, 32 insertions(+) - -diff --git a/refpolicy/policy/modules/kernel/files.if b/refpolicy/policy/modules/kernel/files.if -index a895f37..9ec28ce 100644 ---- a/refpolicy/policy/modules/kernel/files.if -+++ b/refpolicy/policy/modules/kernel/files.if -@@ -564,6 +564,24 @@ interface(`files_manage_non_security_dirs',` - allow $1 non_security_file_type:dir manage_dir_perms; - ') - -+######################################## -+## -+## Allow attempts to setattr any directory -+## -+## -+## -+## Domain allowed access. -+## -+## -+# -+interface(`files_setattr_non_security_dirs',` -+ gen_require(` -+ attribute non_security_file_type; -+ ') -+ -+ allow $1 non_security_file_type:dir { read setattr }; -+') -+ - ######################################## - ## - ## Create non-security directories. -diff --git a/refpolicy/policy/modules/system/init.te b/refpolicy/policy/modules/system/init.te -index 7249dd1..1ed2e45 100644 ---- a/refpolicy/policy/modules/system/init.te -+++ b/refpolicy/policy/modules/system/init.te -@@ -37,6 +37,13 @@ gen_tunable(init_daemons_use_tty, false) - ## - gen_tunable(init_mounton_non_security, false) - -+## -+##

-+## Enable init create, setattr, mounton on non_security_file_type -+##

-+##
-+gen_tunable(init_create_dirs, true) -+ - attribute init_mountpoint_type; - attribute init_path_unit_loc_type; - attribute init_script_domain_type; -@@ -620,6 +627,13 @@ ifdef(`init_systemd',` - unconfined_create_keys(init_t) - unconfined_write_keys(init_t) - ') -+ -+ tunable_policy(`init_create_dirs',` -+ files_create_non_security_dirs(init_t) -+ files_mounton_non_security(init_t) -+ files_setattr_non_security_dirs(init_t) -+ ') -+ - ',` - tunable_policy(`init_upstart',` - corecmd_shell_domtrans(init_t, initrc_t) --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0006-Allow-init-to-setattr-on-char-devices.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0006-Allow-init-to-setattr-on-char-devices.patch deleted file mode 100644 index c749cb9..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0006-Allow-init-to-setattr-on-char-devices.patch +++ /dev/null @@ -1,25 +0,0 @@ -From bedc00b3dd5afaa8880f263bfa7c761b1445d204 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Tue, 14 Mar 2023 13:40:23 -0500 -Subject: [PATCH] Allow init to setattr on char devices - -This is required for local logins to work. ---- - refpolicy/policy/modules/system/init.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/refpolicy/policy/modules/system/init.te b/refpolicy/policy/modules/system/init.te -index 1ed2e45..6ef0e31 100644 ---- a/refpolicy/policy/modules/system/init.te -+++ b/refpolicy/policy/modules/system/init.te -@@ -390,6 +390,7 @@ ifdef(`init_systemd',` - dev_create_urand_dev(init_t) - # systemd writes to /dev/watchdog on shutdown - dev_write_watchdog(init_t) -+ dev_setattr_all_chr_files(init_t) - - domain_read_all_domains_state(init_t) - # for starting systemd --user in the right domain: --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0007-podman-Allow-crun-to-chown-stdio-sockets.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0007-podman-Allow-crun-to-chown-stdio-sockets.patch deleted file mode 100644 index 0486f42..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0007-podman-Allow-crun-to-chown-stdio-sockets.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f497660743a219a6e54c2982529e5a57742e196a Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Thu, 23 Mar 2023 09:44:02 -0500 -Subject: [PATCH] podman: Allow crun to chown stdio sockets - -Podman (actually `crun`) fails to launch containers as systemd units -with this error: - - fchown std stream 1: Permission denied - -The error is caused by this AVC denial: - - AVC avc: denied { setattr } for pid=262 comm="crun" name="UNIX-STREAM" dev="sockfs" ino=9811 scontext=system_u:system_r:podman_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket permissive=0 ---- - refpolicy/policy/modules/services/podman.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/refpolicy/policy/modules/services/podman.te b/refpolicy/policy/modules/services/podman.te -index 3d16e64..d06e9f9 100644 ---- a/refpolicy/policy/modules/services/podman.te -+++ b/refpolicy/policy/modules/services/podman.te -@@ -71,6 +71,8 @@ ifdef(`init_systemd',` - init_start_transient_units(podman_t) - init_stop_transient_units(podman_t) - -+ init_rw_stream_sockets(podman_t) -+ - # podman can read logs from containers which are - # sent to the system journal - logging_search_logs(podman_t) --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0008-systemd-Allow-quadlet-to-read-container-configs.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0008-systemd-Allow-quadlet-to-read-container-configs.patch deleted file mode 100644 index 20de437..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0008-systemd-Allow-quadlet-to-read-container-configs.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 98c85f0633912a35b5d27417fa60ad213e843f97 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Thu, 23 Mar 2023 10:45:11 -0500 -Subject: [PATCH] systemd: Allow quadlet to read container configs - ---- - refpolicy/policy/modules/system/systemd.fc | 1 + - refpolicy/policy/modules/system/systemd.te | 5 +++++ - 2 files changed, 6 insertions(+) - -diff --git a/refpolicy/policy/modules/system/systemd.fc b/refpolicy/policy/modules/system/systemd.fc -index f4b5fa0..9538432 100644 ---- a/refpolicy/policy/modules/system/systemd.fc -+++ b/refpolicy/policy/modules/system/systemd.fc -@@ -23,6 +23,7 @@ - /usr/lib/systemd/system-generators/.* -- gen_context(system_u:object_r:systemd_generator_exec_t,s0) - /usr/lib/systemd/user-environment-generators/.* -- gen_context(system_u:object_r:systemd_generator_exec_t,s0) - /usr/lib/systemd/user-generators/.* -- gen_context(system_u:object_r:systemd_generator_exec_t,s0) -+/usr/libexec/podman/quadlet -- gen_context(system_u:object_r:systemd_generator_exec_t,s0) - - /usr/lib/systemd/systemd-activate -- gen_context(system_u:object_r:systemd_activate_exec_t,s0) - /usr/lib/systemd/systemd-backlight -- gen_context(system_u:object_r:systemd_backlight_exec_t,s0) -diff --git a/refpolicy/policy/modules/system/systemd.te b/refpolicy/policy/modules/system/systemd.te -index a296a7d..85157f8 100644 ---- a/refpolicy/policy/modules/system/systemd.te -+++ b/refpolicy/policy/modules/system/systemd.te -@@ -572,6 +572,11 @@ optional_policy(` - zfs_read_config(systemd_generator_t) - ') - -+optional_policy(` -+ # needed by podman-system-generator -+ container_read_config(systemd_generator_t) -+') -+ - ####################################### - # - # systemd-homed policy --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-container-Allow-containers-to-use-fd-from-init.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-container-Allow-containers-to-use-fd-from-init.patch deleted file mode 100644 index 4adb0a3..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-container-Allow-containers-to-use-fd-from-init.patch +++ /dev/null @@ -1,27 +0,0 @@ -From a13c332aed1cf9b54a3644c6d5cf1f9cd187b211 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sun, 26 Mar 2023 14:56:02 -0500 -Subject: [PATCH] container: Allow containers to use fd from init - -Containers run as systemd units need to be able to use the file -descriptors inherited from systemd for standard input/output/error. ---- - refpolicy/policy/modules/services/container.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/refpolicy/policy/modules/services/container.te b/refpolicy/policy/modules/services/container.te -index 534d6f4..d519177 100644 ---- a/refpolicy/policy/modules/services/container.te -+++ b/refpolicy/policy/modules/services/container.te -@@ -301,6 +301,8 @@ clock_read_adjtime(container_domain) - - init_read_utmp(container_domain) - init_dontaudit_write_utmp(container_domain) -+init_use_fds(container_domain) -+init_rw_stream_sockets(container_domain) - - libs_dontaudit_setattr_lib_files(container_domain) - --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-podman-Allow-podman-to-use-fd-inherited-from-init.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-podman-Allow-podman-to-use-fd-inherited-from-init.patch deleted file mode 100644 index 006a872..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0009-podman-Allow-podman-to-use-fd-inherited-from-init.patch +++ /dev/null @@ -1,24 +0,0 @@ -From a2cf7311a5d50c6585c63b6602e7841b23aacfdd Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sun, 26 Mar 2023 14:56:02 -0500 -Subject: [PATCH] podman: Allow podman to use fd inherited from init - ---- - refpolicy/policy/modules/services/podman.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/refpolicy/policy/modules/services/podman.te b/refpolicy/policy/modules/services/podman.te -index d06e9f9..9ead6ba 100644 ---- a/refpolicy/policy/modules/services/podman.te -+++ b/refpolicy/policy/modules/services/podman.te -@@ -72,6 +72,7 @@ ifdef(`init_systemd',` - init_stop_transient_units(podman_t) - - init_rw_stream_sockets(podman_t) -+ init_use_fds(podman_t) - - # podman can read logs from containers which are - # sent to the system journal --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0010-Allow-podman-to-validate-security-contexts.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0010-Allow-podman-to-validate-security-contexts.patch deleted file mode 100644 index 681146c..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0010-Allow-podman-to-validate-security-contexts.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 370eab5c843f4081aacfe67a1bd6c17bb1973902 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sun, 26 Mar 2023 14:59:28 -0500 -Subject: [PATCH] Allow podman to validate security contexts - -Addresses this AVC denial: - - avc: denied { write } for pid=244 comm="podman" name="context" dev="selinuxfs" ino=5 scontext=system_u:system_r:podman_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=file permissive=0 ---- - refpolicy/policy/modules/services/podman.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/refpolicy/policy/modules/services/podman.te b/refpolicy/policy/modules/services/podman.te -index d06e9f9..41e0ec6 100644 ---- a/refpolicy/policy/modules/services/podman.te -+++ b/refpolicy/policy/modules/services/podman.te -@@ -60,6 +60,8 @@ container_manage_sock_files(podman_t) - - podman_spec_rangetrans_conmon(podman_t, s0) - -+selinux_validate_context(podman_t) -+ - ifdef(`init_systemd',` - init_dbus_chat(podman_t) - init_setsched(podman_t) --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0011-podman-Allow-conmon-to-signal-containers.patch b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0011-podman-Allow-conmon-to-signal-containers.patch deleted file mode 100644 index 16d76dd..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-base/0011-podman-Allow-conmon-to-signal-containers.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 51414cb3a2dd02b79ce05842d49d5ff1ff67ef56 Mon Sep 17 00:00:00 2001 -From: "Dustin C. Hatch" -Date: Sun, 26 Mar 2023 15:03:40 -0500 -Subject: [PATCH] podman: Allow conmon to signal containers - -Addresses these AVC denials: - - avc: denied { kill } for pid=274 comm="conmon" capability=5 scontext=system_u:system_r:podman_conmon_t:s0 tcontext=system_u:system_r:podman_conmon_t:s0 tclass=capability permissive=0 - avc: denied { signal } for pid=278 comm="conmon" scontext=system_u:system_r:podman_conmon_t:s0 tcontext=system_u:system_r:container_t:s0:c273,c333 tclass=process permissive=0 ---- - refpolicy/policy/modules/services/podman.te | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/refpolicy/policy/modules/services/podman.te b/refpolicy/policy/modules/services/podman.te -index 41e0ec6..222ae2b 100644 ---- a/refpolicy/policy/modules/services/podman.te -+++ b/refpolicy/policy/modules/services/podman.te -@@ -191,7 +191,7 @@ ifdef(`init_systemd',` - # podman conmon local policy - # - --allow podman_conmon_t self:capability { dac_override dac_read_search sys_ptrace sys_resource }; -+allow podman_conmon_t self:capability { dac_override dac_read_search kill sys_ptrace sys_resource }; - dontaudit podman_conmon_t self:capability net_admin; - - podman_domtrans(podman_conmon_t) -@@ -214,6 +214,8 @@ container_engine_tmp_filetrans(podman_conmon_t, { file sock_file }) - container_manage_engine_tmp_files(podman_conmon_t) - container_manage_engine_tmp_sock_files(podman_conmon_t) - -+container_signal_all_containers(podman_conmon_t) -+ - ifdef(`init_systemd',` - init_get_transient_units_status(podman_conmon_t) - init_start_transient_units(podman_conmon_t) --- -2.39.0 - diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-container b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-container deleted file mode 120000 index 999e000..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-container +++ /dev/null @@ -1 +0,0 @@ -selinux-base \ No newline at end of file diff --git a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-podman b/yellow/portage/target/etc/portage/patches/sec-policy/selinux-podman deleted file mode 120000 index 999e000..0000000 --- a/yellow/portage/target/etc/portage/patches/sec-policy/selinux-podman +++ /dev/null @@ -1 +0,0 @@ -selinux-base \ No newline at end of file diff --git a/yellow/portage/target/etc/portage/savedconfig/sys-apps/busybox b/yellow/portage/target/etc/portage/savedconfig/sys-apps/busybox deleted file mode 100644 index 2c007d9..0000000 --- a/yellow/portage/target/etc/portage/savedconfig/sys-apps/busybox +++ /dev/null @@ -1,1190 +0,0 @@ -# -# Automatically generated make config: don't edit -# Busybox version: 1.34.1 -# Sun Feb 12 18:57:50 2023 -# -CONFIG_HAVE_DOT_CONFIG=y - -# -# Settings -# -# CONFIG_DESKTOP is not set -# CONFIG_EXTRA_COMPAT is not set -# CONFIG_FEDORA_COMPAT is not set -# CONFIG_INCLUDE_SUSv2 is not set -CONFIG_LONG_OPTS=y -# CONFIG_SHOW_USAGE is not set -# CONFIG_FEATURE_VERBOSE_USAGE is not set -# CONFIG_FEATURE_COMPRESS_USAGE is not set -CONFIG_LFS=y -CONFIG_PAM=y -CONFIG_FEATURE_DEVPTS=y -# CONFIG_FEATURE_UTMP is not set -# CONFIG_FEATURE_WTMP is not set -# CONFIG_FEATURE_PIDFILE is not set -CONFIG_PID_FILE_PATH="" -# CONFIG_BUSYBOX is not set -# CONFIG_FEATURE_SHOW_SCRIPT is not set -# CONFIG_FEATURE_INSTALLER is not set -CONFIG_INSTALL_NO_USR=y -CONFIG_FEATURE_SUID=y -# CONFIG_FEATURE_SUID_CONFIG is not set -# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set -# CONFIG_FEATURE_PREFER_APPLETS is not set -CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" -CONFIG_SELINUX=y -# CONFIG_FEATURE_CLEAN_UP is not set -# CONFIG_FEATURE_SYSLOG_INFO is not set -# CONFIG_FEATURE_SYSLOG is not set - -# -# Build Options -# -# CONFIG_STATIC is not set -# CONFIG_PIE is not set -# CONFIG_NOMMU is not set -# CONFIG_BUILD_LIBBUSYBOX is not set -# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set -# CONFIG_FEATURE_INDIVIDUAL is not set -# CONFIG_FEATURE_SHARED_BUSYBOX is not set -CONFIG_CROSS_COMPILER_PREFIX="" -CONFIG_SYSROOT="" -CONFIG_EXTRA_CFLAGS="" -CONFIG_EXTRA_LDFLAGS="" -CONFIG_EXTRA_LDLIBS="" -# CONFIG_USE_PORTABLE_CODE is not set -# CONFIG_STACK_OPTIMIZATION_386 is not set -# CONFIG_STATIC_LIBGCC is not set - -# -# Installation Options ("make install" behavior) -# -CONFIG_INSTALL_APPLET_SYMLINKS=y -# CONFIG_INSTALL_APPLET_HARDLINKS is not set -# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set -# CONFIG_INSTALL_APPLET_DONT is not set -# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set -# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set -# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set -CONFIG_PREFIX="./_install" - -# -# Debugging Options -# -# CONFIG_DEBUG is not set -# CONFIG_DEBUG_PESSIMIZE is not set -# CONFIG_DEBUG_SANITIZE is not set -# CONFIG_UNIT_TEST is not set -# CONFIG_WERROR is not set -# CONFIG_WARN_SIMPLE_MSG is not set -CONFIG_NO_DEBUG_LIB=y -# CONFIG_DMALLOC is not set -# CONFIG_EFENCE is not set - -# -# Library Tuning -# -# CONFIG_FEATURE_USE_BSS_TAIL is not set -# CONFIG_FLOAT_DURATION is not set -# CONFIG_FEATURE_RTMINMAX is not set -# CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS is not set -CONFIG_FEATURE_BUFFERS_USE_MALLOC=y -# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set -# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set -CONFIG_PASSWORD_MINLEN=6 -CONFIG_MD5_SMALL=1 -CONFIG_SHA3_SMALL=1 -# CONFIG_FEATURE_FAST_TOP is not set -# CONFIG_FEATURE_ETC_NETWORKS is not set -# CONFIG_FEATURE_ETC_SERVICES is not set -CONFIG_FEATURE_EDITING=y -CONFIG_FEATURE_EDITING_MAX_LEN=1024 -CONFIG_FEATURE_EDITING_VI=y -CONFIG_FEATURE_EDITING_HISTORY=255 -CONFIG_FEATURE_EDITING_SAVEHISTORY=y -# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set -CONFIG_FEATURE_REVERSE_SEARCH=y -CONFIG_FEATURE_TAB_COMPLETION=y -CONFIG_FEATURE_USERNAME_COMPLETION=y -CONFIG_FEATURE_EDITING_FANCY_PROMPT=y -CONFIG_FEATURE_EDITING_WINCH=y -# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set -# CONFIG_LOCALE_SUPPORT is not set -CONFIG_UNICODE_SUPPORT=y -# CONFIG_UNICODE_USING_LOCALE is not set -# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set -CONFIG_SUBST_WCHAR=63 -CONFIG_LAST_SUPPORTED_WCHAR=767 -# CONFIG_UNICODE_COMBINING_WCHARS is not set -# CONFIG_UNICODE_WIDE_WCHARS is not set -# CONFIG_UNICODE_BIDI_SUPPORT is not set -# CONFIG_UNICODE_NEUTRAL_TABLE is not set -# CONFIG_UNICODE_PRESERVE_BROKEN is not set -CONFIG_FEATURE_NON_POSIX_CP=y -CONFIG_FEATURE_VERBOSE_CP_MESSAGE=y -CONFIG_FEATURE_USE_SENDFILE=y -CONFIG_FEATURE_COPYBUF_KB=4 -# CONFIG_FEATURE_SKIP_ROOTFS is not set -CONFIG_MONOTONIC_SYSCALL=y -CONFIG_IOCTL_HEX2STR_ERROR=y -# CONFIG_FEATURE_HWIB is not set - -# -# Applets -# - -# -# Archival Utilities -# -CONFIG_FEATURE_SEAMLESS_XZ=y -# CONFIG_FEATURE_SEAMLESS_LZMA is not set -# CONFIG_FEATURE_SEAMLESS_BZ2 is not set -CONFIG_FEATURE_SEAMLESS_GZ=y -# CONFIG_FEATURE_SEAMLESS_Z is not set -# CONFIG_AR is not set -# CONFIG_FEATURE_AR_LONG_FILENAMES is not set -# CONFIG_FEATURE_AR_CREATE is not set -# CONFIG_UNCOMPRESS is not set -# CONFIG_GUNZIP is not set -# CONFIG_ZCAT is not set -# CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set -# CONFIG_BUNZIP2 is not set -# CONFIG_BZCAT is not set -# CONFIG_UNLZMA is not set -# CONFIG_LZCAT is not set -# CONFIG_LZMA is not set -# CONFIG_UNXZ is not set -# CONFIG_XZCAT is not set -# CONFIG_XZ is not set -# CONFIG_BZIP2 is not set -CONFIG_BZIP2_SMALL=0 -# CONFIG_FEATURE_BZIP2_DECOMPRESS is not set -# CONFIG_CPIO is not set -# CONFIG_FEATURE_CPIO_O is not set -# CONFIG_FEATURE_CPIO_P is not set -# CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_GZIP is not set -# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set -CONFIG_GZIP_FAST=0 -# CONFIG_FEATURE_GZIP_LEVELS is not set -# CONFIG_FEATURE_GZIP_DECOMPRESS is not set -# CONFIG_LZOP is not set -# CONFIG_UNLZOP is not set -# CONFIG_LZOPCAT is not set -# CONFIG_LZOP_COMPR_HIGH is not set -# CONFIG_RPM is not set -# CONFIG_RPM2CPIO is not set -CONFIG_TAR=y -CONFIG_FEATURE_TAR_LONG_OPTIONS=y -CONFIG_FEATURE_TAR_CREATE=y -CONFIG_FEATURE_TAR_AUTODETECT=y -CONFIG_FEATURE_TAR_FROM=y -# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set -# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set -CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y -# CONFIG_FEATURE_TAR_TO_COMMAND is not set -CONFIG_FEATURE_TAR_UNAME_GNAME=y -CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y -# CONFIG_FEATURE_TAR_SELINUX is not set -# CONFIG_UNZIP is not set -# CONFIG_FEATURE_UNZIP_CDF is not set -# CONFIG_FEATURE_UNZIP_BZIP2 is not set -# CONFIG_FEATURE_UNZIP_LZMA is not set -# CONFIG_FEATURE_UNZIP_XZ is not set -# CONFIG_FEATURE_LZMA_FAST is not set - -# -# Coreutils -# -CONFIG_BASENAME=y -CONFIG_CAT=y -CONFIG_FEATURE_CATN=y -CONFIG_FEATURE_CATV=y -# CONFIG_CHGRP is not set -# CONFIG_CHMOD is not set -# CONFIG_CHOWN is not set -# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set -# CONFIG_CHROOT is not set -# CONFIG_CKSUM is not set -# CONFIG_CRC32 is not set -# CONFIG_COMM is not set -CONFIG_CP=y -# CONFIG_FEATURE_CP_LONG_OPTIONS is not set -# CONFIG_FEATURE_CP_REFLINK is not set -# CONFIG_CUT is not set -# CONFIG_FEATURE_CUT_REGEX is not set -# CONFIG_DATE is not set -# CONFIG_FEATURE_DATE_ISOFMT is not set -# CONFIG_FEATURE_DATE_NANO is not set -# CONFIG_FEATURE_DATE_COMPAT is not set -CONFIG_DD=y -CONFIG_FEATURE_DD_SIGNAL_HANDLING=y -CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y -CONFIG_FEATURE_DD_IBS_OBS=y -CONFIG_FEATURE_DD_STATUS=y -CONFIG_DF=y -CONFIG_FEATURE_DF_FANCY=y -# CONFIG_DIRNAME is not set -# CONFIG_DOS2UNIX is not set -# CONFIG_UNIX2DOS is not set -CONFIG_DU=y -CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y -CONFIG_ECHO=y -CONFIG_FEATURE_FANCY_ECHO=y -CONFIG_ENV=y -# CONFIG_EXPAND is not set -# CONFIG_UNEXPAND is not set -# CONFIG_EXPR is not set -# CONFIG_EXPR_MATH_SUPPORT_64 is not set -# CONFIG_FACTOR is not set -CONFIG_FALSE=y -# CONFIG_FOLD is not set -CONFIG_HEAD=y -CONFIG_FEATURE_FANCY_HEAD=y -# CONFIG_HOSTID is not set -CONFIG_ID=y -CONFIG_GROUPS=y -CONFIG_INSTALL=y -CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y -CONFIG_LINK=y -CONFIG_LN=y -# CONFIG_LOGNAME is not set -CONFIG_LS=y -CONFIG_FEATURE_LS_FILETYPES=y -CONFIG_FEATURE_LS_FOLLOWLINKS=y -CONFIG_FEATURE_LS_RECURSIVE=y -CONFIG_FEATURE_LS_WIDTH=y -CONFIG_FEATURE_LS_SORTFILES=y -CONFIG_FEATURE_LS_TIMESTAMPS=y -CONFIG_FEATURE_LS_USERNAME=y -CONFIG_FEATURE_LS_COLOR=y -CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y -# CONFIG_MD5SUM is not set -CONFIG_SHA1SUM=y -CONFIG_SHA256SUM=y -CONFIG_SHA512SUM=y -CONFIG_SHA3SUM=y - -# -# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum -# -CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y -CONFIG_MKDIR=y -CONFIG_MKFIFO=y -# CONFIG_MKNOD is not set -CONFIG_MKTEMP=y -CONFIG_MV=y -CONFIG_NICE=y -# CONFIG_NL is not set -# CONFIG_NOHUP is not set -CONFIG_NPROC=y -# CONFIG_OD is not set -# CONFIG_PASTE is not set -# CONFIG_PRINTENV is not set -CONFIG_PRINTF=y -# CONFIG_PWD is not set -CONFIG_READLINK=y -CONFIG_FEATURE_READLINK_FOLLOW=y -CONFIG_REALPATH=y -CONFIG_RM=y -CONFIG_RMDIR=y -CONFIG_SEQ=y -# CONFIG_SHRED is not set -# CONFIG_SHUF is not set -# CONFIG_SLEEP is not set -# CONFIG_FEATURE_FANCY_SLEEP is not set -CONFIG_SORT=y -CONFIG_FEATURE_SORT_BIG=y -# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set -# CONFIG_SPLIT is not set -# CONFIG_FEATURE_SPLIT_FANCY is not set -CONFIG_STAT=y -CONFIG_FEATURE_STAT_FORMAT=y -CONFIG_FEATURE_STAT_FILESYSTEM=y -CONFIG_STTY=y -# CONFIG_SUM is not set -CONFIG_SYNC=y -CONFIG_FEATURE_SYNC_FANCY=y -CONFIG_FSYNC=y -CONFIG_TAC=y -CONFIG_TAIL=y -CONFIG_FEATURE_FANCY_TAIL=y -CONFIG_TEE=y -CONFIG_FEATURE_TEE_USE_BLOCK_IO=y -CONFIG_TEST=y -CONFIG_TEST1=y -# CONFIG_TEST2 is not set -CONFIG_FEATURE_TEST_64=y -CONFIG_TIMEOUT=y -CONFIG_TOUCH=y -CONFIG_FEATURE_TOUCH_SUSV3=y -CONFIG_TR=y -CONFIG_FEATURE_TR_CLASSES=y -CONFIG_FEATURE_TR_EQUIV=y -CONFIG_TRUE=y -CONFIG_TRUNCATE=y -CONFIG_TTY=y -CONFIG_UNAME=y -CONFIG_UNAME_OSNAME="GNU/Linux" -# CONFIG_BB_ARCH is not set -# CONFIG_UNIQ is not set -# CONFIG_UNLINK is not set -# CONFIG_USLEEP is not set -# CONFIG_UUDECODE is not set -# CONFIG_BASE32 is not set -# CONFIG_BASE64 is not set -# CONFIG_UUENCODE is not set -# CONFIG_WC is not set -# CONFIG_FEATURE_WC_LARGE is not set -# CONFIG_WHO is not set -# CONFIG_W is not set -# CONFIG_USERS is not set -# CONFIG_WHOAMI is not set -# CONFIG_YES is not set - -# -# Common options -# -# CONFIG_FEATURE_VERBOSE is not set - -# -# Common options for cp and mv -# -CONFIG_FEATURE_PRESERVE_HARDLINKS=y - -# -# Common options for df, du, ls -# -CONFIG_FEATURE_HUMAN_READABLE=y - -# -# Console Utilities -# -# CONFIG_CHVT is not set -# CONFIG_CLEAR is not set -# CONFIG_DEALLOCVT is not set -# CONFIG_DUMPKMAP is not set -# CONFIG_FGCONSOLE is not set -# CONFIG_KBD_MODE is not set -# CONFIG_LOADFONT is not set -# CONFIG_SETFONT is not set -# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set -CONFIG_DEFAULT_SETFONT_DIR="" -# CONFIG_FEATURE_LOADFONT_PSF2 is not set -# CONFIG_FEATURE_LOADFONT_RAW is not set -# CONFIG_LOADKMAP is not set -# CONFIG_OPENVT is not set -# CONFIG_RESET is not set -# CONFIG_RESIZE is not set -# CONFIG_FEATURE_RESIZE_PRINT is not set -# CONFIG_SETCONSOLE is not set -# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set -# CONFIG_SETKEYCODES is not set -# CONFIG_SETLOGCONS is not set -# CONFIG_SHOWKEY is not set - -# -# Debian Utilities -# -# CONFIG_PIPE_PROGRESS is not set -# CONFIG_RUN_PARTS is not set -# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set -# CONFIG_FEATURE_RUN_PARTS_FANCY is not set -# CONFIG_START_STOP_DAEMON is not set -# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set -# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set -# CONFIG_WHICH is not set - -# -# klibc-utils -# -# CONFIG_MINIPS is not set -# CONFIG_NUKE is not set -# CONFIG_RESUME is not set -# CONFIG_RUN_INIT is not set - -# -# Editors -# -CONFIG_AWK=y -# CONFIG_FEATURE_AWK_LIBM is not set -# CONFIG_FEATURE_AWK_GNU_EXTENSIONS is not set -# CONFIG_CMP is not set -# CONFIG_DIFF is not set -# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set -# CONFIG_FEATURE_DIFF_DIR is not set -# CONFIG_ED is not set -# CONFIG_PATCH is not set -CONFIG_SED=y -# CONFIG_VI is not set -CONFIG_FEATURE_VI_MAX_LEN=0 -# CONFIG_FEATURE_VI_8BIT is not set -# CONFIG_FEATURE_VI_COLON is not set -# CONFIG_FEATURE_VI_COLON_EXPAND is not set -# CONFIG_FEATURE_VI_YANKMARK is not set -# CONFIG_FEATURE_VI_SEARCH is not set -# CONFIG_FEATURE_VI_REGEX_SEARCH is not set -# CONFIG_FEATURE_VI_USE_SIGNALS is not set -# CONFIG_FEATURE_VI_DOT_CMD is not set -# CONFIG_FEATURE_VI_READONLY is not set -# CONFIG_FEATURE_VI_SETOPTS is not set -# CONFIG_FEATURE_VI_SET is not set -# CONFIG_FEATURE_VI_WIN_RESIZE is not set -# CONFIG_FEATURE_VI_ASK_TERMINAL is not set -# CONFIG_FEATURE_VI_UNDO is not set -# CONFIG_FEATURE_VI_UNDO_QUEUE is not set -CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=0 -# CONFIG_FEATURE_VI_VERBOSE_STATUS is not set -# CONFIG_FEATURE_ALLOW_EXEC is not set - -# -# Finding Utilities -# -# CONFIG_FIND is not set -# CONFIG_FEATURE_FIND_PRINT0 is not set -# CONFIG_FEATURE_FIND_MTIME is not set -# CONFIG_FEATURE_FIND_MMIN is not set -# CONFIG_FEATURE_FIND_PERM is not set -# CONFIG_FEATURE_FIND_TYPE is not set -# CONFIG_FEATURE_FIND_EXECUTABLE is not set -# CONFIG_FEATURE_FIND_XDEV is not set -# CONFIG_FEATURE_FIND_MAXDEPTH is not set -# CONFIG_FEATURE_FIND_NEWER is not set -# CONFIG_FEATURE_FIND_INUM is not set -# CONFIG_FEATURE_FIND_EXEC is not set -# CONFIG_FEATURE_FIND_EXEC_PLUS is not set -# CONFIG_FEATURE_FIND_USER is not set -# CONFIG_FEATURE_FIND_GROUP is not set -# CONFIG_FEATURE_FIND_NOT is not set -# CONFIG_FEATURE_FIND_DEPTH is not set -# CONFIG_FEATURE_FIND_PAREN is not set -# CONFIG_FEATURE_FIND_SIZE is not set -# CONFIG_FEATURE_FIND_PRUNE is not set -# CONFIG_FEATURE_FIND_QUIT is not set -# CONFIG_FEATURE_FIND_DELETE is not set -# CONFIG_FEATURE_FIND_EMPTY is not set -# CONFIG_FEATURE_FIND_PATH is not set -# CONFIG_FEATURE_FIND_REGEX is not set -# CONFIG_FEATURE_FIND_CONTEXT is not set -# CONFIG_FEATURE_FIND_LINKS is not set -CONFIG_GREP=y -# CONFIG_EGREP is not set -# CONFIG_FGREP is not set -CONFIG_FEATURE_GREP_CONTEXT=y -# CONFIG_XARGS is not set -# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set -# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set -# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set -# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set -# CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR is not set -# CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL is not set -# CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE is not set - -# -# Init Utilities -# -# CONFIG_BOOTCHARTD is not set -# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set -# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set -# CONFIG_HALT is not set -# CONFIG_POWEROFF is not set -# CONFIG_REBOOT is not set -# CONFIG_FEATURE_WAIT_FOR_INIT is not set -# CONFIG_FEATURE_CALL_TELINIT is not set -CONFIG_TELINIT_PATH="" -# CONFIG_INIT is not set -# CONFIG_LINUXRC is not set -# CONFIG_FEATURE_USE_INITTAB is not set -# CONFIG_FEATURE_KILL_REMOVED is not set -CONFIG_FEATURE_KILL_DELAY=0 -# CONFIG_FEATURE_INIT_SCTTY is not set -# CONFIG_FEATURE_INIT_SYSLOG is not set -# CONFIG_FEATURE_INIT_QUIET is not set -# CONFIG_FEATURE_INIT_COREDUMPS is not set -CONFIG_INIT_TERMINAL_TYPE="" -# CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set - -# -# Login/Password Management Utilities -# -# CONFIG_FEATURE_SHADOWPASSWDS is not set -# CONFIG_USE_BB_PWD_GRP is not set -# CONFIG_USE_BB_SHADOW is not set -# CONFIG_USE_BB_CRYPT is not set -# CONFIG_USE_BB_CRYPT_SHA is not set -# CONFIG_ADD_SHELL is not set -# CONFIG_REMOVE_SHELL is not set -# CONFIG_ADDGROUP is not set -# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set -# CONFIG_ADDUSER is not set -# CONFIG_FEATURE_CHECK_NAMES is not set -CONFIG_LAST_ID=0 -CONFIG_FIRST_SYSTEM_ID=0 -CONFIG_LAST_SYSTEM_ID=0 -# CONFIG_CHPASSWD is not set -CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="" -# CONFIG_CRYPTPW is not set -# CONFIG_MKPASSWD is not set -# CONFIG_DELUSER is not set -# CONFIG_DELGROUP is not set -# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set -# CONFIG_GETTY is not set -# CONFIG_LOGIN is not set -# CONFIG_LOGIN_SESSION_AS_CHILD is not set -# CONFIG_LOGIN_SCRIPTS is not set -# CONFIG_FEATURE_NOLOGIN is not set -# CONFIG_FEATURE_SECURETTY is not set -# CONFIG_PASSWD is not set -# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set -# CONFIG_SU is not set -# CONFIG_FEATURE_SU_SYSLOG is not set -# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set -# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set -# CONFIG_SULOGIN is not set -# CONFIG_VLOCK is not set - -# -# Linux Ext2 FS Progs -# -# CONFIG_CHATTR is not set -# CONFIG_FSCK is not set -# CONFIG_LSATTR is not set -# CONFIG_TUNE2FS is not set - -# -# Linux Module Utilities -# -# CONFIG_MODPROBE_SMALL is not set -# CONFIG_DEPMOD is not set -# CONFIG_INSMOD is not set -# CONFIG_LSMOD is not set -# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set -# CONFIG_MODINFO is not set -# CONFIG_MODPROBE is not set -# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set -# CONFIG_RMMOD is not set - -# -# Options common to multiple modutils -# -# CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS is not set -# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set -# CONFIG_FEATURE_2_4_MODULES is not set -# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set -# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set -# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set -# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set -# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set -# CONFIG_FEATURE_MODUTILS_ALIAS is not set -# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set -CONFIG_DEFAULT_MODULES_DIR="" -CONFIG_DEFAULT_DEPMOD_FILE="" - -# -# Linux System Utilities -# -# CONFIG_ACPID is not set -# CONFIG_FEATURE_ACPID_COMPAT is not set -# CONFIG_BLKDISCARD is not set -# CONFIG_BLKID is not set -# CONFIG_FEATURE_BLKID_TYPE is not set -# CONFIG_BLOCKDEV is not set -# CONFIG_CAL is not set -# CONFIG_CHRT is not set -# CONFIG_DMESG is not set -# CONFIG_FEATURE_DMESG_PRETTY is not set -# CONFIG_EJECT is not set -# CONFIG_FEATURE_EJECT_SCSI is not set -# CONFIG_FALLOCATE is not set -# CONFIG_FATATTR is not set -# CONFIG_FBSET is not set -# CONFIG_FEATURE_FBSET_FANCY is not set -# CONFIG_FEATURE_FBSET_READMODE is not set -# CONFIG_FDFORMAT is not set -# CONFIG_FDISK is not set -# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set -# CONFIG_FEATURE_FDISK_WRITABLE is not set -# CONFIG_FEATURE_AIX_LABEL is not set -# CONFIG_FEATURE_SGI_LABEL is not set -# CONFIG_FEATURE_SUN_LABEL is not set -# CONFIG_FEATURE_OSF_LABEL is not set -# CONFIG_FEATURE_GPT_LABEL is not set -# CONFIG_FEATURE_FDISK_ADVANCED is not set -# CONFIG_FINDFS is not set -# CONFIG_FLOCK is not set -# CONFIG_FDFLUSH is not set -# CONFIG_FREERAMDISK is not set -# CONFIG_FSCK_MINIX is not set -# CONFIG_FSFREEZE is not set -# CONFIG_FSTRIM is not set -# CONFIG_GETOPT is not set -# CONFIG_FEATURE_GETOPT_LONG is not set -# CONFIG_HEXDUMP is not set -# CONFIG_HD is not set -# CONFIG_XXD is not set -# CONFIG_HWCLOCK is not set -# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set -# CONFIG_IONICE is not set -# CONFIG_IPCRM is not set -# CONFIG_IPCS is not set -# CONFIG_LAST is not set -# CONFIG_FEATURE_LAST_FANCY is not set -# CONFIG_LOSETUP is not set -# CONFIG_LSPCI is not set -# CONFIG_LSUSB is not set -# CONFIG_MDEV is not set -# CONFIG_FEATURE_MDEV_CONF is not set -# CONFIG_FEATURE_MDEV_RENAME is not set -# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set -# CONFIG_FEATURE_MDEV_EXEC is not set -# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set -# CONFIG_FEATURE_MDEV_DAEMON is not set -# CONFIG_MESG is not set -# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set -# CONFIG_MKE2FS is not set -# CONFIG_MKFS_EXT2 is not set -# CONFIG_MKFS_MINIX is not set -# CONFIG_FEATURE_MINIX2 is not set -# CONFIG_MKFS_REISER is not set -# CONFIG_MKDOSFS is not set -# CONFIG_MKFS_VFAT is not set -# CONFIG_MKSWAP is not set -# CONFIG_FEATURE_MKSWAP_UUID is not set -# CONFIG_MORE is not set -# CONFIG_MOUNT is not set -# CONFIG_FEATURE_MOUNT_FAKE is not set -# CONFIG_FEATURE_MOUNT_VERBOSE is not set -# CONFIG_FEATURE_MOUNT_HELPERS is not set -# CONFIG_FEATURE_MOUNT_LABEL is not set -# CONFIG_FEATURE_MOUNT_NFS is not set -# CONFIG_FEATURE_MOUNT_CIFS is not set -# CONFIG_FEATURE_MOUNT_FLAGS is not set -# CONFIG_FEATURE_MOUNT_FSTAB is not set -# CONFIG_FEATURE_MOUNT_OTHERTAB is not set -# CONFIG_MOUNTPOINT is not set -# CONFIG_NOLOGIN is not set -# CONFIG_NOLOGIN_DEPENDENCIES is not set -# CONFIG_NSENTER is not set -# CONFIG_PIVOT_ROOT is not set -# CONFIG_RDATE is not set -# CONFIG_RDEV is not set -# CONFIG_READPROFILE is not set -# CONFIG_RENICE is not set -# CONFIG_REV is not set -# CONFIG_RTCWAKE is not set -# CONFIG_SCRIPT is not set -# CONFIG_SCRIPTREPLAY is not set -# CONFIG_SETARCH is not set -# CONFIG_LINUX32 is not set -# CONFIG_LINUX64 is not set -# CONFIG_SETPRIV is not set -# CONFIG_FEATURE_SETPRIV_DUMP is not set -# CONFIG_FEATURE_SETPRIV_CAPABILITIES is not set -# CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES is not set -# CONFIG_SETSID is not set -# CONFIG_SWAPON is not set -# CONFIG_FEATURE_SWAPON_DISCARD is not set -# CONFIG_FEATURE_SWAPON_PRI is not set -# CONFIG_SWAPOFF is not set -# CONFIG_FEATURE_SWAPONOFF_LABEL is not set -# CONFIG_SWITCH_ROOT is not set -# CONFIG_TASKSET is not set -# CONFIG_FEATURE_TASKSET_FANCY is not set -# CONFIG_FEATURE_TASKSET_CPULIST is not set -# CONFIG_UEVENT is not set -# CONFIG_UMOUNT is not set -# CONFIG_FEATURE_UMOUNT_ALL is not set -# CONFIG_UNSHARE is not set -# CONFIG_WALL is not set -# CONFIG_FEATURE_MOUNT_LOOP is not set -# CONFIG_FEATURE_MOUNT_LOOP_CREATE is not set -# CONFIG_FEATURE_MTAB_SUPPORT is not set -# CONFIG_VOLUMEID is not set -# CONFIG_FEATURE_VOLUMEID_BCACHE is not set -# CONFIG_FEATURE_VOLUMEID_BTRFS is not set -# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set -# CONFIG_FEATURE_VOLUMEID_EROFS is not set -# CONFIG_FEATURE_VOLUMEID_EXFAT is not set -# CONFIG_FEATURE_VOLUMEID_EXT is not set -# CONFIG_FEATURE_VOLUMEID_F2FS is not set -# CONFIG_FEATURE_VOLUMEID_FAT is not set -# CONFIG_FEATURE_VOLUMEID_HFS is not set -# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set -# CONFIG_FEATURE_VOLUMEID_JFS is not set -# CONFIG_FEATURE_VOLUMEID_LFS is not set -# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set -# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set -# CONFIG_FEATURE_VOLUMEID_LUKS is not set -# CONFIG_FEATURE_VOLUMEID_MINIX is not set -# CONFIG_FEATURE_VOLUMEID_NILFS is not set -# CONFIG_FEATURE_VOLUMEID_NTFS is not set -# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set -# CONFIG_FEATURE_VOLUMEID_REISERFS is not set -# CONFIG_FEATURE_VOLUMEID_ROMFS is not set -# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set -# CONFIG_FEATURE_VOLUMEID_SYSV is not set -# CONFIG_FEATURE_VOLUMEID_UBIFS is not set -# CONFIG_FEATURE_VOLUMEID_UDF is not set -# CONFIG_FEATURE_VOLUMEID_XFS is not set - -# -# Miscellaneous Utilities -# -# CONFIG_ADJTIMEX is not set -# CONFIG_ASCII is not set -# CONFIG_BBCONFIG is not set -# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set -# CONFIG_BC is not set -# CONFIG_DC is not set -# CONFIG_FEATURE_DC_BIG is not set -# CONFIG_FEATURE_DC_LIBM is not set -# CONFIG_FEATURE_BC_INTERACTIVE is not set -# CONFIG_FEATURE_BC_LONG_OPTIONS is not set -# CONFIG_BEEP is not set -CONFIG_FEATURE_BEEP_FREQ=0 -CONFIG_FEATURE_BEEP_LENGTH_MS=0 -# CONFIG_CHAT is not set -# CONFIG_FEATURE_CHAT_NOFAIL is not set -# CONFIG_FEATURE_CHAT_TTY_HIFI is not set -# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set -# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set -# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set -# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set -# CONFIG_FEATURE_CHAT_CLR_ABORT is not set -# CONFIG_CONSPY is not set -# CONFIG_CROND is not set -# CONFIG_FEATURE_CROND_D is not set -# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set -# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set -CONFIG_FEATURE_CROND_DIR="" -# CONFIG_CRONTAB is not set -# CONFIG_DEVFSD is not set -# CONFIG_DEVFSD_MODLOAD is not set -# CONFIG_DEVFSD_FG_NP is not set -# CONFIG_DEVFSD_VERBOSE is not set -# CONFIG_FEATURE_DEVFS is not set -# CONFIG_DEVMEM is not set -# CONFIG_FBSPLASH is not set -# CONFIG_FLASH_ERASEALL is not set -# CONFIG_FLASH_LOCK is not set -# CONFIG_FLASH_UNLOCK is not set -# CONFIG_FLASHCP is not set -# CONFIG_HDPARM is not set -# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set -# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set -# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set -# CONFIG_HEXEDIT is not set -# CONFIG_I2CGET is not set -# CONFIG_I2CSET is not set -# CONFIG_I2CDUMP is not set -# CONFIG_I2CDETECT is not set -# CONFIG_I2CTRANSFER is not set -# CONFIG_INOTIFYD is not set -CONFIG_LESS=y -CONFIG_FEATURE_LESS_MAXLINES=9999999 -CONFIG_FEATURE_LESS_BRACKETS=y -CONFIG_FEATURE_LESS_FLAGS=y -CONFIG_FEATURE_LESS_TRUNCATE=y -CONFIG_FEATURE_LESS_MARKS=y -CONFIG_FEATURE_LESS_REGEXP=y -CONFIG_FEATURE_LESS_WINCH=y -CONFIG_FEATURE_LESS_ASK_TERMINAL=y -CONFIG_FEATURE_LESS_DASHCMD=y -CONFIG_FEATURE_LESS_LINENUMS=y -CONFIG_FEATURE_LESS_RAW=y -CONFIG_FEATURE_LESS_ENV=y -# CONFIG_LSSCSI is not set -# CONFIG_MAKEDEVS is not set -# CONFIG_FEATURE_MAKEDEVS_LEAF is not set -# CONFIG_FEATURE_MAKEDEVS_TABLE is not set -# CONFIG_MAN is not set -# CONFIG_MICROCOM is not set -# CONFIG_MIM is not set -# CONFIG_MT is not set -# CONFIG_NANDWRITE is not set -# CONFIG_NANDDUMP is not set -# CONFIG_PARTPROBE is not set -# CONFIG_RAIDAUTORUN is not set -CONFIG_READAHEAD=y -# CONFIG_RFKILL is not set -# CONFIG_RUNLEVEL is not set -# CONFIG_RX is not set -# CONFIG_SETFATTR is not set -# CONFIG_SETSERIAL is not set -# CONFIG_STRINGS is not set -# CONFIG_TIME is not set -# CONFIG_TS is not set -# CONFIG_TTYSIZE is not set -# CONFIG_UBIATTACH is not set -# CONFIG_UBIDETACH is not set -# CONFIG_UBIMKVOL is not set -# CONFIG_UBIRMVOL is not set -# CONFIG_UBIRSVOL is not set -# CONFIG_UBIUPDATEVOL is not set -# CONFIG_UBIRENAME is not set -# CONFIG_VOLNAME is not set -# CONFIG_WATCHDOG is not set -# CONFIG_FEATURE_WATCHDOG_OPEN_TWICE is not set - -# -# Networking Utilities -# -CONFIG_FEATURE_IPV6=y -# CONFIG_FEATURE_UNIX_LOCAL is not set -CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y -# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set -# CONFIG_FEATURE_TLS_SHA1 is not set -# CONFIG_ARP is not set -# CONFIG_ARPING is not set -# CONFIG_BRCTL is not set -# CONFIG_FEATURE_BRCTL_FANCY is not set -# CONFIG_FEATURE_BRCTL_SHOW is not set -# CONFIG_DNSD is not set -# CONFIG_ETHER_WAKE is not set -# CONFIG_FTPD is not set -# CONFIG_FEATURE_FTPD_WRITE is not set -# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set -# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set -# CONFIG_FTPGET is not set -# CONFIG_FTPPUT is not set -# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -# CONFIG_HOSTNAME is not set -# CONFIG_DNSDOMAINNAME is not set -# CONFIG_HTTPD is not set -# CONFIG_FEATURE_HTTPD_RANGES is not set -# CONFIG_FEATURE_HTTPD_SETUID is not set -# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set -# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set -# CONFIG_FEATURE_HTTPD_CGI is not set -# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set -# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set -# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set -# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set -# CONFIG_FEATURE_HTTPD_PROXY is not set -# CONFIG_FEATURE_HTTPD_GZIP is not set -# CONFIG_FEATURE_HTTPD_ETAG is not set -# CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set -# CONFIG_FEATURE_HTTPD_DATE is not set -# CONFIG_FEATURE_HTTPD_ACL_IP is not set -# CONFIG_IFCONFIG is not set -# CONFIG_FEATURE_IFCONFIG_STATUS is not set -# CONFIG_FEATURE_IFCONFIG_SLIP is not set -# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set -# CONFIG_FEATURE_IFCONFIG_HW is not set -# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set -# CONFIG_IFENSLAVE is not set -# CONFIG_IFPLUGD is not set -# CONFIG_IFUP is not set -# CONFIG_IFDOWN is not set -CONFIG_IFUPDOWN_IFSTATE_PATH="" -# CONFIG_FEATURE_IFUPDOWN_IP is not set -# CONFIG_FEATURE_IFUPDOWN_IPV4 is not set -# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set -# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set -# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set -# CONFIG_INETD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set -# CONFIG_FEATURE_INETD_RPC is not set -CONFIG_IP=y -# CONFIG_IPADDR is not set -# CONFIG_IPLINK is not set -# CONFIG_IPROUTE is not set -# CONFIG_IPTUNNEL is not set -# CONFIG_IPRULE is not set -# CONFIG_IPNEIGH is not set -CONFIG_FEATURE_IP_ADDRESS=y -CONFIG_FEATURE_IP_LINK=y -CONFIG_FEATURE_IP_ROUTE=y -CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" -CONFIG_FEATURE_IP_TUNNEL=y -CONFIG_FEATURE_IP_RULE=y -CONFIG_FEATURE_IP_NEIGH=y -# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set -# CONFIG_IPCALC is not set -# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set -# CONFIG_FEATURE_IPCALC_FANCY is not set -# CONFIG_FAKEIDENTD is not set -# CONFIG_NAMEIF is not set -# CONFIG_FEATURE_NAMEIF_EXTENDED is not set -# CONFIG_NBDCLIENT is not set -# CONFIG_NC is not set -# CONFIG_NETCAT is not set -# CONFIG_NC_SERVER is not set -# CONFIG_NC_EXTRA is not set -# CONFIG_NC_110_COMPAT is not set -CONFIG_NETSTAT=y -CONFIG_FEATURE_NETSTAT_WIDE=y -CONFIG_FEATURE_NETSTAT_PRG=y -# CONFIG_NSLOOKUP is not set -# CONFIG_FEATURE_NSLOOKUP_BIG is not set -# CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS is not set -# CONFIG_NTPD is not set -# CONFIG_FEATURE_NTPD_SERVER is not set -# CONFIG_FEATURE_NTPD_CONF is not set -# CONFIG_FEATURE_NTP_AUTH is not set -CONFIG_PING=y -CONFIG_PING6=y -CONFIG_FEATURE_FANCY_PING=y -# CONFIG_PSCAN is not set -# CONFIG_ROUTE is not set -# CONFIG_SLATTACH is not set -CONFIG_SSL_CLIENT=y -# CONFIG_TC is not set -# CONFIG_FEATURE_TC_INGRESS is not set -# CONFIG_TCPSVD is not set -# CONFIG_UDPSVD is not set -# CONFIG_TELNET is not set -# CONFIG_FEATURE_TELNET_TTYPE is not set -# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set -# CONFIG_FEATURE_TELNET_WIDTH is not set -# CONFIG_TELNETD is not set -# CONFIG_FEATURE_TELNETD_STANDALONE is not set -# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set -# CONFIG_TFTP is not set -# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set -# CONFIG_FEATURE_TFTP_HPA_COMPAT is not set -# CONFIG_TFTPD is not set -# CONFIG_FEATURE_TFTP_GET is not set -# CONFIG_FEATURE_TFTP_PUT is not set -# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set -# CONFIG_TFTP_DEBUG is not set -CONFIG_TLS=y -# CONFIG_TRACEROUTE is not set -# CONFIG_TRACEROUTE6 is not set -# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set -# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set -# CONFIG_TUNCTL is not set -# CONFIG_FEATURE_TUNCTL_UG is not set -# CONFIG_VCONFIG is not set -CONFIG_WGET=y -CONFIG_FEATURE_WGET_LONG_OPTIONS=y -CONFIG_FEATURE_WGET_STATUSBAR=y -# CONFIG_FEATURE_WGET_FTP is not set -# CONFIG_FEATURE_WGET_AUTHENTICATION is not set -CONFIG_FEATURE_WGET_TIMEOUT=y -CONFIG_FEATURE_WGET_HTTPS=y -# CONFIG_FEATURE_WGET_OPENSSL is not set -# CONFIG_WHOIS is not set -# CONFIG_ZCIP is not set -# CONFIG_UDHCPD is not set -# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set -# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set -CONFIG_DHCPD_LEASES_FILE="" -# CONFIG_DUMPLEASES is not set -# CONFIG_DHCPRELAY is not set -# CONFIG_UDHCPC is not set -# CONFIG_FEATURE_UDHCPC_ARPING is not set -# CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set -CONFIG_UDHCPC_DEFAULT_SCRIPT="" -# CONFIG_UDHCPC6 is not set -# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set -# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set -CONFIG_UDHCPC_DEFAULT_INTERFACE="" -# CONFIG_FEATURE_UDHCP_PORT is not set -CONFIG_UDHCP_DEBUG=0 -CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 -# CONFIG_FEATURE_UDHCP_RFC3397 is not set -# CONFIG_FEATURE_UDHCP_8021Q is not set -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" - -# -# Print Utilities -# -# CONFIG_LPD is not set -# CONFIG_LPR is not set -# CONFIG_LPQ is not set - -# -# Mail Utilities -# -# CONFIG_MAKEMIME is not set -# CONFIG_POPMAILDIR is not set -# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set -# CONFIG_REFORMIME is not set -# CONFIG_FEATURE_REFORMIME_COMPAT is not set -# CONFIG_SENDMAIL is not set -CONFIG_FEATURE_MIME_CHARSET="" - -# -# Process Utilities -# -CONFIG_FREE=y -CONFIG_FUSER=y -# CONFIG_IOSTAT is not set -CONFIG_KILL=y -# CONFIG_KILLALL is not set -# CONFIG_KILLALL5 is not set -CONFIG_LSOF=y -# CONFIG_MPSTAT is not set -# CONFIG_NMETER is not set -CONFIG_PGREP=y -CONFIG_PKILL=y -CONFIG_PIDOF=y -CONFIG_FEATURE_PIDOF_SINGLE=y -CONFIG_FEATURE_PIDOF_OMIT=y -# CONFIG_PMAP is not set -# CONFIG_POWERTOP is not set -# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set -CONFIG_PS=y -CONFIG_FEATURE_PS_WIDE=y -CONFIG_FEATURE_PS_LONG=y -# CONFIG_FEATURE_PS_TIME is not set -# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set -# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set -# CONFIG_PSTREE is not set -# CONFIG_PWDX is not set -# CONFIG_SMEMCAP is not set -# CONFIG_BB_SYSCTL is not set -# CONFIG_TOP is not set -# CONFIG_FEATURE_TOP_INTERACTIVE is not set -# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set -# CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS is not set -# CONFIG_FEATURE_TOP_SMP_CPU is not set -# CONFIG_FEATURE_TOP_DECIMALS is not set -# CONFIG_FEATURE_TOP_SMP_PROCESS is not set -# CONFIG_FEATURE_TOPMEM is not set -CONFIG_UPTIME=y -# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set -# CONFIG_WATCH is not set -CONFIG_FEATURE_SHOW_THREADS=y - -# -# Runit Utilities -# -# CONFIG_CHPST is not set -# CONFIG_SETUIDGID is not set -# CONFIG_ENVUIDGID is not set -# CONFIG_ENVDIR is not set -# CONFIG_SOFTLIMIT is not set -# CONFIG_RUNSV is not set -# CONFIG_RUNSVDIR is not set -# CONFIG_FEATURE_RUNSVDIR_LOG is not set -# CONFIG_SV is not set -CONFIG_SV_DEFAULT_SERVICE_DIR="" -# CONFIG_SVC is not set -# CONFIG_SVOK is not set -# CONFIG_SVLOGD is not set -CONFIG_CHCON=y -# CONFIG_GETENFORCE is not set -# CONFIG_GETSEBOOL is not set -# CONFIG_LOAD_POLICY is not set -# CONFIG_MATCHPATHCON is not set -# CONFIG_RUNCON is not set -# CONFIG_SELINUXENABLED is not set -# CONFIG_SESTATUS is not set -# CONFIG_SETENFORCE is not set -# CONFIG_SETFILES is not set -# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set -# CONFIG_RESTORECON is not set -# CONFIG_SETSEBOOL is not set - -# -# Shells -# -CONFIG_SH_IS_ASH=y -# CONFIG_SH_IS_HUSH is not set -# CONFIG_SH_IS_NONE is not set -# CONFIG_BASH_IS_ASH is not set -# CONFIG_BASH_IS_HUSH is not set -CONFIG_BASH_IS_NONE=y -CONFIG_SHELL_ASH=y -CONFIG_ASH=y -# CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set -# CONFIG_ASH_INTERNAL_GLOB is not set -# CONFIG_ASH_BASH_COMPAT is not set -# CONFIG_ASH_BASH_SOURCE_CURDIR is not set -# CONFIG_ASH_BASH_NOT_FOUND_HOOK is not set -CONFIG_ASH_JOB_CONTROL=y -# CONFIG_ASH_ALIAS is not set -# CONFIG_ASH_RANDOM_SUPPORT is not set -# CONFIG_ASH_EXPAND_PRMT is not set -# CONFIG_ASH_IDLE_TIMEOUT is not set -# CONFIG_ASH_MAIL is not set -CONFIG_ASH_ECHO=y -CONFIG_ASH_PRINTF=y -CONFIG_ASH_TEST=y -# CONFIG_ASH_HELP is not set -# CONFIG_ASH_GETOPTS is not set -CONFIG_ASH_CMDCMD=y -# CONFIG_CTTYHACK is not set -# CONFIG_HUSH is not set -# CONFIG_SHELL_HUSH is not set -# CONFIG_HUSH_BASH_COMPAT is not set -# CONFIG_HUSH_BRACE_EXPANSION is not set -# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set -# CONFIG_HUSH_LINENO_VAR is not set -# CONFIG_HUSH_INTERACTIVE is not set -# CONFIG_HUSH_SAVEHISTORY is not set -# CONFIG_HUSH_JOB is not set -# CONFIG_HUSH_TICK is not set -# CONFIG_HUSH_IF is not set -# CONFIG_HUSH_LOOPS is not set -# CONFIG_HUSH_CASE is not set -# CONFIG_HUSH_FUNCTIONS is not set -# CONFIG_HUSH_LOCAL is not set -# CONFIG_HUSH_RANDOM_SUPPORT is not set -# CONFIG_HUSH_MODE_X is not set -# CONFIG_HUSH_ECHO is not set -# CONFIG_HUSH_PRINTF is not set -# CONFIG_HUSH_TEST is not set -# CONFIG_HUSH_HELP is not set -# CONFIG_HUSH_EXPORT is not set -# CONFIG_HUSH_EXPORT_N is not set -# CONFIG_HUSH_READONLY is not set -# CONFIG_HUSH_KILL is not set -# CONFIG_HUSH_WAIT is not set -# CONFIG_HUSH_COMMAND is not set -# CONFIG_HUSH_TRAP is not set -# CONFIG_HUSH_TYPE is not set -# CONFIG_HUSH_TIMES is not set -# CONFIG_HUSH_READ is not set -# CONFIG_HUSH_SET is not set -# CONFIG_HUSH_UNSET is not set -# CONFIG_HUSH_ULIMIT is not set -# CONFIG_HUSH_UMASK is not set -# CONFIG_HUSH_GETOPTS is not set -# CONFIG_HUSH_MEMLEAK is not set - -# -# Options common to all shells -# -CONFIG_FEATURE_SH_MATH=y -CONFIG_FEATURE_SH_MATH_64=y -CONFIG_FEATURE_SH_MATH_BASE=y -CONFIG_FEATURE_SH_EXTRA_QUIET=y -# CONFIG_FEATURE_SH_STANDALONE is not set -# CONFIG_FEATURE_SH_NOFORK is not set -# CONFIG_FEATURE_SH_READ_FRAC is not set -# CONFIG_FEATURE_SH_HISTFILESIZE is not set -# CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS is not set - -# -# System Logging Utilities -# -# CONFIG_KLOGD is not set -# CONFIG_FEATURE_KLOGD_KLOGCTL is not set -# CONFIG_LOGGER is not set -# CONFIG_LOGREAD is not set -# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set -# CONFIG_SYSLOGD is not set -# CONFIG_FEATURE_ROTATE_LOGFILE is not set -# CONFIG_FEATURE_REMOTE_LOG is not set -# CONFIG_FEATURE_SYSLOGD_DUP is not set -# CONFIG_FEATURE_SYSLOGD_CFG is not set -# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set -CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 -# CONFIG_FEATURE_IPC_SYSLOG is not set -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 -# CONFIG_FEATURE_KMSG_SYSLOG is not set diff --git a/yellow/portage/target/etc/portage/savedconfig/sys-boot/u-boot b/yellow/portage/target/etc/portage/savedconfig/sys-boot/u-boot deleted file mode 100644 index fc7053b..0000000 --- a/yellow/portage/target/etc/portage/savedconfig/sys-boot/u-boot +++ /dev/null @@ -1,100 +0,0 @@ -CONFIG_ARM=y -CONFIG_ARCH_BCM283X=y -CONFIG_TEXT_BASE=0x00080000 -CONFIG_TARGET_RPI_4=y -CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y -CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x7fffe30 -CONFIG_ENV_SIZE=0x4000 -CONFIG_DEFAULT_DEVICE_TREE="bcm2711-rpi-4-b" -CONFIG_SYS_PROMPT="U-Boot> " -CONFIG_DM_RESET=y -CONFIG_SYS_LOAD_ADDR=0x1000000 -CONFIG_DISTRO_DEFAULTS=y -CONFIG_OF_BOARD_SETUP=y -CONFIG_USE_PREBOOT=y -CONFIG_PREBOOT="pci enum; usb start;" -# CONFIG_DISPLAY_CPUINFO is not set -# CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_MISC_INIT_R=y -CONFIG_FDT_SIMPLEFB=y -CONFIG_SYS_PBSIZE=1049 -CONFIG_CMD_DFU=y -CONFIG_CMD_GPIO=y -CONFIG_CMD_MMC=y -CONFIG_CMD_PCI=y -CONFIG_CMD_USB=y -CONFIG_CMD_FS_UUID=y -CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" -CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y -CONFIG_TFTP_TSIZE=y -CONFIG_DM_DMA=y -CONFIG_DFU_MMC=y -CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000 -CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000 -CONFIG_BCM2835_GPIO=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_SDMA=y -CONFIG_MMC_SDHCI_BCM2835=y -CONFIG_BCMGENET=y -CONFIG_PCI=y -CONFIG_PCI_BRCMSTB=y -CONFIG_PINCTRL=y -# CONFIG_PINCTRL_GENERIC is not set -CONFIG_DM_RNG=y -CONFIG_RNG_IPROC200=y -# CONFIG_REQUIRE_SERIAL_CONSOLE is not set -CONFIG_SYSINFO=y -CONFIG_SYSINFO_SMBIOS=y -CONFIG_USB=y -CONFIG_DM_USB_GADGET=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PCI=y -CONFIG_USB_KEYBOARD=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="FSL" -CONFIG_USB_GADGET_VENDOR_NUM=0x0525 -CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 -CONFIG_USB_GADGET_DWC2_OTG=y -CONFIG_USB_GADGET_DOWNLOAD=y -CONFIG_VIDEO=y -# CONFIG_VIDEO_BPP8 is not set -# CONFIG_VIDEO_BPP16 is not set -CONFIG_SYS_WHITE_ON_BLACK=y -CONFIG_VIDEO_BCM2835=y -CONFIG_CONSOLE_SCROLL_LINES=10 -CONFIG_PHYS_TO_BUS=y -CONFIG_OF_LIBFDT_OVERLAY=y - -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_BOOTDELAY=-2 -# CONFIG_ISO_PARTITION is not set -CONFIG_EFI_PARTITION=y -CONFIG_FS_EXT4=y -CONFIG_FS_FAT=y -# CONFIG_ENV_IS_IN_FAT is not set -# CONFIG_ENV_IS_IN_EXT4 is not set -CONFIG_ENV_IS_NOWHERE=y -CONFIG_CMD_SETEXPR=y -CONFIG_CMD_FILEENV=y -CONFIG_CMD_SQUASHFS=y -CONFIG_LZO=y - -# CONFIG_DOS_PARTITION is not set -CONFIG_USB_STORAGE=y -CONFIG_USB_FUNCTION_MASS_STORAGE=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_GENERIC=y -CONFIG_USB_OHCI_HCD=y - -CONFIG_USB_XHCI_BRCM=y - -CONFIG_NVME_PCI=y -CONFIG_CMD_NVME=y -CONFIG_NVME=y -CONFIG_CMD_USB_MASS_STORAGE=y - -CONFIG_CMD_BOOTEFI=y -CONFIG_EFI_LOADER=y - -CONFIG_LMB_MAX_REGIONS=16 diff --git a/yellow/portage/target/etc/portage/savedconfig/sys-kernel/linux-firmware b/yellow/portage/target/etc/portage/savedconfig/sys-kernel/linux-firmware deleted file mode 100644 index 2a59d62..0000000 --- a/yellow/portage/target/etc/portage/savedconfig/sys-kernel/linux-firmware +++ /dev/null @@ -1,13 +0,0 @@ -brcm/brcmfmac43455-sdio.AW-CM256SM.txt -brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt -brcm/brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt -brcm/brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi Compute Module 4.txt -brcm/brcmfmac43455-sdio.acepc-t8.txt -brcm/brcmfmac43455-sdio.beagle,am5729-beagleboneai.txt -brcm/brcmfmac43455-sdio.bin -brcm/brcmfmac43455-sdio.clm_blob -brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt -brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt -cypress/cyfmac43455-sdio.bin -cypress/cyfmac43455-sdio.clm_blob diff --git a/yellow/post-build.sh b/yellow/post-build.sh deleted file mode 100644 index 10f74fa..0000000 --- a/yellow/post-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -# vim: set ft=sh sw=4 ts=4 sts=4 et : - -cp -uv \ - /usr/${target}/boot/*.bin \ - /usr/${target}/boot/*.dat \ - /usr/${target}/boot/*.elf \ - /usr/${target}/usr/share/u-boot/u-boot.bin \ - "${CONFIGDIR}"/config.txt \ - "$1"/efi-part/ diff --git a/yellow/semanage.mods b/yellow/semanage.mods deleted file mode 100644 index 900c0d1..0000000 --- a/yellow/semanage.mods +++ /dev/null @@ -1 +0,0 @@ -boolean -m -1 container_mounton_non_security diff --git a/yellow/squashfs.exclude b/yellow/squashfs.exclude deleted file mode 100644 index 6af424e..0000000 --- a/yellow/squashfs.exclude +++ /dev/null @@ -1,5 +0,0 @@ -etc/burp/CA.cnf -etc/burp/burp-server.conf -etc/burp/clientconfdir -usr/aarch64-unknown-linux-gnu -var/spool/burp diff --git a/yellow/squashfs.pseudo b/yellow/squashfs.pseudo deleted file mode 100644 index 29cc641..0000000 --- a/yellow/squashfs.pseudo +++ /dev/null @@ -1,2 +0,0 @@ -/etc/burp m 0750 498 498 -/etc/burp/burp.conf m 0640 498 498