feat: initial bluetooth support (#9)

* Enable Bluetooth LE radio support
* Build our own bccmd which we need to setup/enable this BT chipset sadly
* Use our own tool we build to interface with the ubnt eeprom, so we can not rely on their custom kernel module
* Also fix HDDs not spinning down on shutdown, doing something similar to how unifi does it but a tad more generic.
This commit is contained in:
Chris Blake 2024-06-12 20:38:37 -05:00 committed by GitHub
parent fe3b4cd76f
commit 9ef1a72228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 678 additions and 20 deletions

View file

@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -yq \
bsdextrautils \
build-essential \
cpio \
curl \
debootstrap \
debhelper \
device-tree-compiler \
@ -26,9 +27,14 @@ RUN apt-get update && apt-get install -yq \
kpartx \
libconfuse-common \
libconfuse-dev \
libdbus-1-dev \
libelf-dev \
libglib2.0-dev \
libical-dev \
libncurses-dev \
libreadline-dev \
libssl-dev \
libudev-dev \
lvm2 \
mtools \
parted \
@ -47,4 +53,11 @@ RUN apt-get update && apt-get install -yq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& /setup_mkimage.sh \
&& rm /setup_mkimage.sh
&& rm /setup_mkimage.sh \
&& curl -fsSL "https://go.dev/dl/go1.22.4.linux-amd64.tar.gz" -o golang.tar.gz \
&& tar -C /usr/local -xzf golang.tar.gz \
&& rm golang.tar.gz \
&& for bin in `ls /usr/local/go/bin/`; do \
update-alternatives --install "/usr/bin/$bin" "$bin" "/usr/local/go/bin/$bin" 1; \
update-alternatives --set "$bin" "/usr/local/go/bin/$bin"; \
done