fix: refresh Bazzite package for bluetooth branch

Pin the package to the current code commit, ship both maintained modules and all firmware variants, remove obsolete Bluetooth configuration, and document kernel-specific rebuilds.
This commit is contained in:
Shen Mintao
2026-07-14 17:39:29 +08:00
parent 6b8cb98e96
commit 8006daf6c7
2 changed files with 64 additions and 431 deletions
+12 -13
View File
@@ -13,10 +13,11 @@ There is only one problem - Bazzite has read-only filesystem.
# How to build from spec file.
Install required packages and then reboot after install to apply changes.
Install the build tools, the development package for the running kernel, and
the runtime mode-switch tools. Reboot once so the layered packages are active.
~~~bash
sudo rpm-ostree install rpm-build rpmdevtools dkms
sudo rpm-ostree install rpm-build rpmdevtools gcc make "kernel-devel-$(uname -r)" usb_modeswitch util-linux
sudo systemctl reboot
~~~
@@ -31,7 +32,7 @@ Copy aic8800d80.spec to rpmbuild/SPECS
~~~bash
cd $HOME/rpmbuild/SPECS
curl -LO -s https://raw.githubusercontent.com/shenmintao/aic8800d80/refs/heads/main/bazzite/aic8800d80.spec
curl -LO -s https://raw.githubusercontent.com/shenmintao/aic8800d80/refs/heads/bluetooth/bazzite/aic8800d80.spec
~~~
Prepare and download required files.
@@ -41,25 +42,23 @@ spectool -g -R $HOME/rpmbuild/SPECS/aic8800d80.spec
rpmbuild -bs $HOME/rpmbuild/SPECS/aic8800d80.spec
~~~
Enable user overlay
~~~bash
sudo rpm-ostree usroverlay
~~~
Build SRPM package
~~~bash
rpmbuild --define "uname $(uname -r)" -bb $HOME/rpmbuild/SPECS/aic8800d80.spec
rpmbuild --define "kver $(uname -r)" -bb $HOME/rpmbuild/SPECS/aic8800d80.spec
~~~
Install RPM package
~~~bash
sudo rpm-ostree install $HOME/rpmbuild/RPMS/x86_64/aic8800d80-b0787d9-4.fc43.x86_64.rpm
rpm_path=$(find "$HOME/rpmbuild/RPMS/$(uname -m)" -maxdepth 1 -name 'aic8800d80-*.rpm' -printf '%T@ %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
sudo rpm-ostree install "$rpm_path"
sudo systemctl reboot
~~~
After reboot wifi module will load automatically.
After reboot, the Wi-Fi module and firmware loader will be available. Bluetooth
is handled by the standard `btusb` kernel module after firmware initialization.
This RPM is built for the kernel reported by `uname -r`. Rebuild and reinstall
it after a Bazzite kernel upgrade.