rockchip.conf pull out bt service

when active it blocks any use of the blue tooth, better to leave it disabled for now.  The rtk_hciattach program is still included for manual enabling.
This commit is contained in:
Tony 2018-02-20 23:14:57 -05:00 committed by GitHub
parent 8bcfb5d224
commit 33a482f8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ family_tweaks()
{
if [[ $BOARD == tinkerboard ]]; then
echo "fdt_file=rk3288-miniarm.dtb" >> $SDCARD/boot/armbianEnv.txt
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable tinker-bluetooth.service"
# chroot $SDCARD /bin/bash -c "systemctl --no-reload enable tinker-bluetooth.service"
chroot $SDCARD /bin/bash -c "sed -i -e '/#load-module module-alsa-sink/r /usr/local/bin/pulseaudio.txt' /etc/pulse/default.pa"
chroot $SDCARD /bin/bash -c "rm /usr/local/bin/pulseaudio.txt"
fi
@ -81,7 +81,7 @@ family_tweaks_bsp()
install -m 755 $SRC/packages/bsp/rockchip/hdmi-hotplug $destination/usr/local/bin
# Bluetooth
install -m 755 $SRC/packages/bsp/rockchip/rtk_hciattach $destination/usr/bin
cp $SRC/packages/bsp/rockchip/tinker-bluetooth.service $destination/lib/systemd/system/
# cp $SRC/packages/bsp/rockchip/tinker-bluetooth.service $destination/lib/systemd/system/
# Sound
cp $SRC/packages/bsp/rockchip/asound.conf $destination/etc/
}