Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:initramfs-tools
User: [email protected]
Usertags: pu

[ Reason ]
- Missing driver needed to boot on some systems
- Regression in unmkinitramfs

[ Impact ]
- Failure to boot from USB storage on boards using Starfive SoC
  (#1108924)
- unmkinitramfs/lsinitramfs can no longer read initramfs images built
  with some other tools (not in Debian BTS, maybe reported on IRC?)

[ Tests ]
Core functionality of the package is covered by autopkgtest.

[ Risks ]
Extremely low

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
- Salsa CI is configured to use trixie environment
- In the default configuration (MODULES=most) cdns3 USB host drivers
  are added to the initramfs if available.  (These are included in our
  official kernel packages for arm64 and riscv64 only.)
- unmkinitramfs recognises lower-case digits in cpio headers

[ Other info ]
N/A
diff -Nru initramfs-tools-0.148.3/debian/changelog 
initramfs-tools-0.148.4/debian/changelog
--- initramfs-tools-0.148.3/debian/changelog    2025-06-29 14:08:36.000000000 
+0200
+++ initramfs-tools-0.148.4/debian/changelog    2026-05-07 10:04:09.000000000 
+0200
@@ -1,3 +1,17 @@
+initramfs-tools (0.148.4) trixie; urgency=medium
+
+  [ Aurelien Jarno ]
+  * [8e1a6f5] d/salsa-ci.yml: Set RELEASE to trixie
+
+  [ E Shattow ]
+  * [2331eab] hook-functions: Add Cadence USB driver to base (Closes:
+    #1108924)
+
+  [ Ben Hutchings ]
+  * [45d5661] unmkinitramfs: Accept lower-case hex digits in cpio headers
+
+ -- Ben Hutchings <[email protected]>  Thu, 07 May 2026 10:04:09 +0200
+
 initramfs-tools (0.148.3) unstable; urgency=medium
 
   [ Benjamin Drung ]
diff -Nru initramfs-tools-0.148.3/debian/salsa-ci.yml 
initramfs-tools-0.148.4/debian/salsa-ci.yml
--- initramfs-tools-0.148.3/debian/salsa-ci.yml 2025-05-13 05:22:04.000000000 
+0200
+++ initramfs-tools-0.148.4/debian/salsa-ci.yml 2026-05-06 22:14:37.000000000 
+0200
@@ -3,7 +3,7 @@
   - 
https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
 
 variables:
-  RELEASE: 'unstable'
+  RELEASE: 'trixie'
 
 shellcheck:
   stage: test
diff -Nru initramfs-tools-0.148.3/hook-functions 
initramfs-tools-0.148.4/hook-functions
--- initramfs-tools-0.148.3/hook-functions      2025-06-29 13:53:10.000000000 
+0200
+++ initramfs-tools-0.148.4/hook-functions      2026-05-07 10:04:04.000000000 
+0200
@@ -734,6 +734,7 @@
                                hwa-hc.ko sl811_cs.ko sl811-hcd.ko \
                                u132-hcd.ko whci-hcd.ko
                        modules="$modules =drivers/usb/c67x00"
+                       modules="$modules =drivers/usb/cdns3"
                        modules="$modules =drivers/usb/chipidea"
                        modules="$modules =drivers/usb/dwc2"
                        modules="$modules =drivers/usb/dwc3"
diff -Nru initramfs-tools-0.148.3/unmkinitramfs.c 
initramfs-tools-0.148.4/unmkinitramfs.c
--- initramfs-tools-0.148.3/unmkinitramfs.c     2025-06-29 13:53:10.000000000 
+0200
+++ initramfs-tools-0.148.4/unmkinitramfs.c     2026-05-06 22:14:37.000000000 
+0200
@@ -1,6 +1,7 @@
 /* unmkinitramfs: Unpack an initramfs */
 
 #include <assert.h>
+#include <ctype.h>
 #include <errno.h>
 #include <limits.h>
 #include <stdbool.h>
@@ -166,7 +167,7 @@
 
        /* Parse digits up to end of field or null */
        for (; i < 8 && field[i] != 0; ++i) {
-               p = strchr(digits, field[i]);
+               p = strchr(digits, (char)toupper((unsigned char)field[i]));
                if (!p)
                        return false;
                value = (value << 4) | (p - digits);

Reply via email to