From: Antonio Alvarez Feijoo Date: Wed, 29 Jul 2026 12:58:19 +0000 (+0200) Subject: perf(udev-rules): do not install the mtp-probe udev helper X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fdracut-ng.git perf(udev-rules): do not install the mtp-probe udev helper The mtp-probe udev helper belongs to the libmtp package, and is called from 69-libmtp.rules, which is not installed in the initrd. Since mtp-probe depends on libmtp, libgcrypt and libgpg-error, we can save ~2.5 MB uncompressed (~1 MB compressed) avoiding the installation of a udev helper that is not necessary. Also, if an external udev rule would require this helper, it would be installed by `_inst_rule_programs()`. --- diff --git a/modules.d/74udev-rules/module-setup.sh b/modules.d/74udev-rules/module-setup.sh index 040db088e..b23f429a7 100755 --- a/modules.d/74udev-rules/module-setup.sh +++ b/modules.d/74udev-rules/module-setup.sh @@ -75,7 +75,6 @@ install() { "${udevdir}"/dmi_memory_id \ "${udevdir}"/fido_id \ "${udevdir}"/mtd_probe \ - "${udevdir}"/mtp-probe \ "${udevdir}"/scsi_id \ "${udevdir}"/v4l_id \ "${udevdir}"/udev.conf \