mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
bluez: symlink /etc/firmware to /usr/lib/firmware
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>
This commit is contained in:
parent
5dc77c99c2
commit
903346fe98
@ -298,9 +298,6 @@ post_install() {
|
|||||||
mkdir -p $INSTALL/$(get_full_firmware_dir)/
|
mkdir -p $INSTALL/$(get_full_firmware_dir)/
|
||||||
ln -sf /storage/.config/firmware/ $INSTALL/$(get_full_firmware_dir)/updates
|
ln -sf /storage/.config/firmware/ $INSTALL/$(get_full_firmware_dir)/updates
|
||||||
|
|
||||||
# bluez looks in /etc/firmware/
|
|
||||||
ln -sf /$(get_full_firmware_dir)/ $INSTALL/etc/firmware
|
|
||||||
|
|
||||||
# regdb and signature is now loaded as firmware by 4.15+
|
# regdb and signature is now loaded as firmware by 4.15+
|
||||||
if grep -q ^CONFIG_CFG80211_REQUIRE_SIGNED_REGDB= $PKG_BUILD/.config; then
|
if grep -q ^CONFIG_CFG80211_REQUIRE_SIGNED_REGDB= $PKG_BUILD/.config; then
|
||||||
cp $(get_build_dir wireless-regdb)/regulatory.db{,.p7s} $INSTALL/$(get_full_firmware_dir)
|
cp $(get_build_dir wireless-regdb)/regulatory.db{,.p7s} $INSTALL/$(get_full_firmware_dir)
|
||||||
|
@ -59,6 +59,9 @@ post_makeinstall_target() {
|
|||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/services
|
mkdir -p $INSTALL/usr/share/services
|
||||||
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
|
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
|
||||||
|
|
||||||
|
# bluez looks in /etc/firmware/
|
||||||
|
ln -sf /usr/lib/firmware $INSTALL/etc/firmware
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user