sonyxperiadev / device-sony-tone

10 stars 25 forks source link

ueventd: Add /vendor/firmware_mnt/image/ to firmware_directories list #197

Closed MarijnS95 closed 4 years ago

MarijnS95 commented 4 years ago

For https://github.com/sonyxperiadev/device-sony-sepolicy/pull/534

In an attempt to drop the legacy and unstable /firmware symlink once and for all, enable ueventd to read firmware directly from our own firmware mountpoint. This much safer than relying on a (SAR) image to specify the link for us, which is not mandatory at all and requires nasty sepolicy hacks.

Note that the path has to end with a slash because ueventd doesn't intersperse a "/" inbetween while searching for firmware.