mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
Intro
Hello.
Some instructions how to build rpm file and then install rpm file on Bazzite.
I saw video on Youtube about Asrock AMD BC-250, then I bought this motherboard.
On printables I found a case and recomendations about WIFI BT stick.
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.
sudo rpm-ostree install rpm-build rpmdevtools dkms
sudo systemctl reboot
Prepare rpmbuild folder
cd $HOME
rpmdev-setuptree
Copy aic8800d80.spec to rpmbuild/SPECS
cd $HOME/rpmbuild/SPECS
curl -LO -s https://raw.githubusercontent.com/shenmintao/aic8800d80/refs/heads/main/bazzite/aic8800d80.spec
Prepare and download required files.
spectool -g -R $HOME/rpmbuild/SPECS/aic8800d80.spec
rpmbuild -bs $HOME/rpmbuild/SPECS/aic8800d80.spec
Enable user overlay
sudo rpm-ostree usroverlay
Build SRPM package
rpmbuild --define "uname $(uname -r)" -bb $HOME/rpmbuild/SPECS/aic8800d80.spec
Install RPM package
sudo rpm-ostree install $HOME/rpmbuild/RPMS/x86_64/aic8800d80-b0787d9-4.fc43.x86_64.rpm
sudo systemctl reboot
After reboot wifi module will load automatically.