mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
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:
+10
-12
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user