From f5a962380fbb021d246fba417eecd56a2703a374 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 18 Dec 2025 17:00:24 +0100 Subject: [PATCH 1/3] doc: update ChangeLog The rpi-firmware package upgrade is on main @ 19471dd already. Signed-off-by: Joachim Wiberg --- doc/ChangeLog.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog.md b/doc/ChangeLog.md index 123dc50f..e9b43640 100644 --- a/doc/ChangeLog.md +++ b/doc/ChangeLog.md @@ -24,7 +24,8 @@ All notable changes to the project are documented in this file. ### Fixes -N/A +- Fix #1314: Raspberry Pi 4B with 1 or 8 GiB RAM does not boot. This was due + newer EEPROM firmware in newer boards require a newer rpi-firmware package [v25.11.0][] - 2025-12-02 ------------------------- From 79b0625a5b9c89334982419fdbe4ada8a74b5767 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 18 Dec 2025 17:01:33 +0100 Subject: [PATCH 2/3] bin/support: simplify leading script comment Signed-off-by: Joachim Wiberg --- src/bin/support | 51 ++++++------------------------------------------- 1 file changed, 6 insertions(+), 45 deletions(-) diff --git a/src/bin/support b/src/bin/support index ba642a22..e9865b5d 100755 --- a/src/bin/support +++ b/src/bin/support @@ -1,55 +1,16 @@ #!/bin/sh # Support utilities for troubleshooting Infix systems - -# Program name for usage messages (supports being renamed by users) -prognm=$(basename "$0") - # # The collect command gathers system information and outputs a tarball. # Data is collected to /var/lib/support (or $HOME as fallback) and then # streamed to stdout. The temporary directory is cleaned up automatically. # -# The following text is primarily intended for users of older Infix -# systems that do not yet have this script in the root fileystems. -# -# 1. Copy this script to the target device's home directory: -# -# scp support user@device: -# -# 2. SSH to the device and make it executable: -# -# ssh user@device chmod +x support -# -# 3. Run the script from your home directory: -# -# ./support collect > support-data.tar.gz -# -# Or directly via SSH from your workstation: -# -# ssh user@device './support collect' > support-data.tar.gz -# -# Optionally, the output can be encrypted with GPG using a password for -# secure transmission to support personnel, see below. -# -# Examples: -# ./support collect > support-data.tar.gz -# ./support collect -s 5 > support-data.tar.gz -# ./support collect -p > support-data.tar.gz.gpg -# ./support collect -p mypass > support-data.tar.gz.gpg -# -# ssh user@device ./support collect > support-data.tar.gz -# ssh user@device ./support collect -p mypass > support-data.tar.gz.gpg -# -# Note, interactive password prompt (-p without argument) may echo characters -# over SSH due to local terminal echo. Use -p PASSWORD for remote execution, -# or pipe the password: echo "password" | ssh user@device ./support collect -p -# meaning you can even: echo "$SECRET_VARIABLE" | ... which in some cases can -# come in handy. -# -# TODO: -# Add more commands, e.g., verify (run health checks), upload , -# test , backup, watch (dashboard view), diff +# See: 'support help' for more information. # +# <<< THIS SCRIPT REQUIRES SUDO TO COLLECT RELEVANT LOGS >>> + +# Program name for usage messages (supports being renamed by users) +prognm=$(basename "$0") cmd_collect() { @@ -564,7 +525,7 @@ usage() echo " sudo $prognm collect -p > support-data.tar.gz.gpg" echo " sudo $prognm collect --password mypass > support-data.tar.gz.gpg" echo " sudo $prognm --work-dir /tmp/ram collect > support-data.tar.gz" - echo " ssh user@device 'sudo $prognm collect' > support-data.tar.gz" + echo " ssh admin@device 'sudo $prognm collect' > support-data.tar.gz" echo " $prognm -u collect > support-data.tar.gz (degraded)" echo " sudo $prognm clean --dry-run" echo " sudo $prognm clean --days 30" From fb338ad2852534f360244371246110f622f3cc30 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 18 Dec 2025 17:01:53 +0100 Subject: [PATCH 3/3] test: fix regression in misc/support_collect The support script now requires sudo. Signed-off-by: Joachim Wiberg --- test/case/misc/support_collect/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/case/misc/support_collect/test.py b/test/case/misc/support_collect/test.py index 4852f320..1ff1d630 100755 --- a/test/case/misc/support_collect/test.py +++ b/test/case/misc/support_collect/test.py @@ -39,7 +39,7 @@ with infamy.Test() as test: # Note: timeout is generous to handle systems with many network ports # (ethtool collection scales with number of interfaces) with open(output_file, 'wb') as f: - result = tgtssh.run("support --work-dir /tmp collect --log-sec 2", + result = tgtssh.run("sudo support --work-dir /tmp collect --log-sec 2", stdout=f, stderr=subprocess.PIPE, timeout=120) @@ -117,7 +117,7 @@ with infamy.Test() as test: # Run support collect with encryption with open(encrypted_file, 'wb') as f: - result = tgtssh.run(f"support --work-dir /tmp collect --log-sec 2 --password {test_password}", + result = tgtssh.run(f"sudo support --work-dir /tmp collect --log-sec 2 --password {test_password}", stdout=f, stderr=subprocess.PIPE, timeout=120)