Discussed with Oliver on IRC. I reverted the /vendor/firmware and /system/firmware lookup bits, but that was a no-op change after all as lxc-android-cfg diverts the rules.
There is no need for diversion there, BTW: lxc-android-cfg could just ship (or create in postinst) an empty /etc/udev/rules.d/50-firmware.rules file which will override the file in /lib/udev/rules.d (see /etc/udev/rules.d/README). So if you want to put that into the image build process instead, or simplify the diversion, you can do that, but otherwise the divert will work as well.
Discussed with Oliver on IRC. I reverted the /vendor/firmware and /system/firmware lookup bits, but that was a no-op change after all as lxc-android-cfg diverts the rules.
There is no need for diversion there, BTW: lxc-android-cfg could just ship (or create in postinst) an empty /etc/udev/ rules.d/ 50-firmware. rules file which will override the file in /lib/udev/rules.d (see /etc/udev/ rules.d/ README) . So if you want to put that into the image build process instead, or simplify the diversion, you can do that, but otherwise the divert will work as well.