fix: additional fixups for UNVR/UNVRPro

* Fixup fan control so it works on UNVR
* Add LED integration work for UNVR
* Rename our mtd-ro kernel module dir
* Fixup shortnames in ubnteeprom
This commit is contained in:
Chris Blake 2024-06-18 19:13:31 -05:00
parent 5962f1ea30
commit 58ce1fb99f
10 changed files with 35 additions and 32 deletions

View file

@ -55,7 +55,7 @@ mv ./modules-dir ${build_path}/kernel/kernel-modules
# Now that the kernel is done, build our out of tree modules! :)
module_builddir=$(mktemp -d)
cp ${root_path}/tools/mtd-lock/* "${module_builddir}"
cp ${root_path}/tools/ubnt-mtd-lock/* "${module_builddir}"
cd "${module_builddir}"
make -C ${kernel_builddir}/${kernel_filename%.tar.gz} M=$PWD
cp "${module_builddir}/ubnt-mtd-lock.ko" ${build_path}/kernel

View file

@ -70,8 +70,7 @@ else
"${build_path}/rootfs/usr/bin/ubnt-systool" \
"${build_path}/rootfs/usr/bin/ubnt-tools" \
"${build_path}/rootfs/usr/bin/ustorage" \
"${build_path}/rootfs/usr/lib/init/boot/ubnt-ulcmd.sh" \
"${build_path}/rootfs/usr/lib/python3/dist-packages/ubnthelpers.py"
"${build_path}/rootfs/usr/lib/init/boot/ubnt-ulcmd.sh"
fi
# Copy over bluetooth firmware files