mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
chore(asus): Setup firmware and asusctl
This commit is contained in:
parent
78f4ba2ef9
commit
fddae32bf9
@ -52,6 +52,16 @@ RUN wget https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/repo/fedora
|
||||
kernel-modules-extra \
|
||||
kernel-uki-virt
|
||||
|
||||
# Setup firmware and asusctl for ASUS devices
|
||||
RUN if [[ "${IMAGE_FLAVOR}" =~ "asus" ]]; then \
|
||||
wget https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/repo/fedora-$(rpm -E %fedora)/lukenukem-asus-linux-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_lukenukem-asus-linux.repo && \
|
||||
rpm-ostree install \
|
||||
asusctl && \
|
||||
git clone https://gitlab.com/asus-linux/firmware.git --depth 1 /tmp/asus-firmware && \
|
||||
cp -rf /tmp/asus-firmware/* /usr/lib/firmware/ && \
|
||||
rm -rf /tmp/asus-firmware \
|
||||
; fi
|
||||
|
||||
# Add ublue packages, add needed negativo17 repo and then immediately disable due to incompatibility with RPMFusion
|
||||
COPY --from=ghcr.io/ublue-os/akmods:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms
|
||||
RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user