Comment 2 for bug 1435687

Revision history for this message
You-Sheng Yang (vicamo) wrote :

The attached patch Avoid-duplicated-udev-match-rules.patch was also submitted to Debian upstream, but as Debian is switching to systemd and systemd has come with a feature to consolidate device names in a more generic way, this patch is probably not going further. However, since some Ubuntu Phones have not yet fully switch to systemd, a quick patch for this might be valuable.

This patch tries to reuse device names that is already written in tmp rules and has exactly the same match expr with the one that is going to be written out.