--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: package debian-installer-utils/1.132+deb10u1
- From: Steve McIntyre <steve@einval.com>
- Date: Tue, 19 Jan 2021 10:33:57 +0000
- Message-id: <161105243799.19508.10294978930591627333.reportbug@tack.local>
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu
Hey folks,
I've fixed an important bug in d-i: missing support for USB UAS
devices. With kibi's blessing, I've backported and tested this small
change in debian-installer-utils so that we can fix this in buster too
(#980455). Please accept this for the next point release. I've tested
the changes and verified they work OK. I've uploaded this already to
p-u.
Here's the debdiff:
diff -Nru debian-installer-utils-1.132/debian/changelog debian-installer-utils-1.132+deb10u1/debian/changelog
--- debian-installer-utils-1.132/debian/changelog 2019-06-30 16:49:06.000000000 +0100
+++ debian-installer-utils-1.132+deb10u1/debian/changelog 2021-01-19 08:49:06.000000000 +0000
@@ -1,3 +1,14 @@
+debian-installer-utils (1.132+deb10u1) buster; urgency=high
+
+ * Team upload
+
+ [ Steve McIntyre ]
+ * Backport from unstable:
+ list-devices-linux: Support partitions on USB UAS devices
+ Closes: #980455
+
+ -- Steve McIntyre <93sam@debian.org> Tue, 19 Jan 2021 08:49:06 +0000
+
debian-installer-utils (1.132) unstable; urgency=high
* Team upload
diff -Nru debian-installer-utils-1.132/list-devices-linux debian-installer-utils-1.132+deb10u1/list-devices-linux
--- debian-installer-utils-1.132/list-devices-linux 2018-07-13 01:04:46.000000000 +0100
+++ debian-installer-utils-1.132+deb10u1/list-devices-linux 2021-01-19 08:49:06.000000000 +0000
@@ -197,9 +197,14 @@
fi
# Disk partitions, but only on USB drives
if ! $match && [ "$TYPE" = usb-partition ]; then
- if device_info env "$devpath" | grep -q '^ID_BUS=usb' && \
- device_info env "$devpath" | grep -q '^ID_TYPE=disk'; then
- match=:
+ if device_info env "$devpath" | grep -q '^ID_TYPE=disk'; then
+ if device_info env "$devpath" | grep -q '^ID_BUS=usb'; then
+ match=:
+ # USB UAS devices may show up as a different
+ # bus type here, so also look for "usb" in ID_PATH
+ elif device_info env "$devpath" | grep -q '^ID_PATH=.*usb'; then
+ match=:
+ fi
fi
fi
if $match; then
-- System Information:
Debian Release: 10.7
APT prefers stable-debug
APT policy: (500, 'stable-debug'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---