public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kmod] rawhide: weak-modules: amend validate_weak_links variable name
@ 2026-10-28 19:35 Eric Chanudet
  0 siblings, 0 replies; only message in thread
From: Eric Chanudet @ 2026-10-28 19:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kmod
            Branch : rawhide
            Commit : 1e727d2365bd10ea3b16a11f52f4ccad7a4442ac
            Author : Eric Chanudet <echanude@redhat.com>
            Date   : 2026-08-12T18:01:32-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kmod/c/1e727d2365bd10ea3b16a11f52f4ccad7a4442ac?branch=rawhide

            Log:
            weak-modules: amend validate_weak_links variable name

symvers is not defined symvers_path is the variable to use in the case
statement.
This is fixed downstream by:
    aa7757c4af4b ("weak-modules: fix incorrect dispatch on symvers file extension")

Fixes: 0b8a2ceefb1d ("weak-modules: add support for zstd compression for initramfs")
Signed-off-by: Eric Chanudet <echanude@redhat.com>

---
diff --git a/weak-modules b/weak-modules
index 624c38f..4335bef 100644
--- a/weak-modules
+++ b/weak-modules
@@ -766,7 +766,7 @@ validate_weak_links() {
 
         [[ -n "$symvers_path" ]] || return
         cat_prog="cat"
-        case "$symvers" in
+        case "$symvers_path" in
         *.gz) cat_prog="zcat" ;;
         *.xz) cat_prog="xzcat" ;;
         esac

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 19:35 [rpms/kmod] rawhide: weak-modules: amend validate_weak_links variable name Eric Chanudet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox