fix: refresh Bazzite package for main branch

Pin the Wi-Fi package to the current main code commit, ship both maintained modules and all firmware variants, and remove obsolete Bluetooth packaging.
This commit is contained in:
Shen Mintao
2026-07-14 17:38:28 +08:00
parent d10bc52903
commit 388a0192c7
2 changed files with 60 additions and 435 deletions
+10 -12
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
~~~
@@ -41,25 +42,22 @@ 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.
This RPM is built for the kernel reported by `uname -r`. Rebuild and reinstall
it after a Bazzite kernel upgrade.