mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-27 00:40:23 +00:00
chore: Use AKMODS_FLAVOR for evdi check
This commit is contained in:
parent
0a9758813f
commit
eb775c1417
@ -20,7 +20,7 @@ COPY system_files/desktop/shared system_files/desktop/${BASE_IMAGE_NAME} /
|
||||
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 && \
|
||||
sed -i "0,/enabled/ s@enabled=0@enabled=1@g" /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
|
||||
if grep -qv "asus" <<< "${IMAGE_NAME}"; then \
|
||||
if grep -qv "asus" <<< "${AKMODS_FLAVOR}"; then \
|
||||
rpm-ostree install \
|
||||
/tmp/akmods-rpms/kmods/*evdi*.rpm \
|
||||
; fi && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user