Bug#955347: initramfs-tools: initrd size increased due to added DRM drivers
Dear Debian folks,
The change *Include modules for Chromebook Plus display*  caused the
DRM drivers to be included on a Intel Broadwell Dell laptop and AMD
Ryzen desktop system.
For MODULES=dep: adds backlight and pwm to the dep_modules_add sys-walk.
Walking backlight includes pwm_bl and pwm includes pwm-cros-ec. Since
panel-simple isn't reachable from /sys/class/**, but it can be reached
from /sys/devices/platform/edp-panel, that path is sys-walked if it
@@ -449,7 +449,7 @@ dep_add_modules()
# sys walk some important device classes
- for class in extcon gpio phy regulator rtc; do
+ for class in backlight extcon gpio phy pwm regulator rtc; do
for device in "/sys/class/$class"/*; do
device="$(readlink -f "$device")" \
&& sys_walk_mod_add "$device"
On the Intel Broadwell system, the backlight below exists.
$ readlink -f /sys/class/backlight/intel_backlight
On the desktop system, the ACPI Video Driver `video` (incorrectly)
creates the backlight device below.
$ readlink -f /sys/class/backlight/acpi_video0
PS: If you reply, please remember to remove <email@example.com> and
add the bug address with the assigned number.