Creating an updates symlink to /storage/.config/firmware in the
kernel firmware directory makes it impossible to add firmware
overlays with an updates folder.
Furthermore bluez/hciattach only looks for firmware files directly in
the /lib/firmware directory and ignores the /lib/firmware/updates
directory. So adding BT firmware via .config/firmware didn't work.
Solve this by adding files from /storage/.config/firmware as the
last step in kernel overlays setup so firmware files from there
will show up directly under /lib/firmware and override other firmware
files installed by the system and kernel overlays.
Signed-off-by: Matthias Reichl <hias@horus.com>
This enables bluez/hciattach to use firmware files added by the
kernel overlay system.
Also move /etc/firmware symlink creation from linux to bluez,
the linux kernel package shouldn't need to care about quirks needed
by other packages.
Signed-off-by: Matthias Reichl <hias@horus.com>