Skip to content

Commit

Permalink
skip zenergy build
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Oct 7, 2024
1 parent 644a98e commit 93d0455
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-kmod-zenergy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"

if [[ "${FEDORA_MAJOR_VERSION}" -ge 41 ]]; then
echo "Skipping build of zenergy; net yet building..."
exit 0
fi

cp /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/_copr_ublue-os-akmods.repo /etc/yum.repos.d/

dnf install -y \
Expand Down

0 comments on commit 93d0455

Please sign in to comment.