chore: Use AKMODS_FLAVOR for evdi check

This commit is contained in:
Kyle Gospodnetich 2023-11-26 16:20:28 -08:00
parent 0a9758813f
commit eb775c1417

View File

@ -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 && \