Skip to content

Commit

Permalink
fix: add KERNEL_NAME var
Browse files Browse the repository at this point in the history
  • Loading branch information
maximmaxim345 committed Dec 20, 2023
1 parent a3fc8d0 commit 37d3747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/scripts/build-kmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -oue pipefail

KERNEL_NAME="kernel"
ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"
Expand Down

0 comments on commit 37d3747

Please sign in to comment.