public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/akmods] f44: Don't make uneeded broken assumption about kernel location
@ 2026-07-29  9:48 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-07-29  9:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/akmods
Branch : f44
Commit : 66159377b3e74aba8eb3668fdc5cd2b5a115346a
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2026-07-29T11:30:40+02:00
Stats  : +0/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/akmods/c/66159377b3e74aba8eb3668fdc5cd2b5a115346a?branch=f44

Log:
Don't make uneeded broken assumption about kernel location

---
diff --git a/akmods b/akmods
index 2899ff3..f302625 100755
--- a/akmods
+++ b/akmods
@@ -299,10 +299,6 @@ check_default_kernel()
 		# Leave jq as optional - isDefault requires systemd 253
 		if command -v jq >/dev/null ; then
 			default_kernel="$(bootctl list  --json=short 2>/dev/null |jq -r '.[] | select(.isDefault).version')"
-			# Validate the result or discard - rhbz#2270414
-			if [[ ! -f /boot/vmlinuz-"${default_kernel}" ]] ; then
-				default_kernel=""
-			fi
 		fi
 	elif command -v grubby >/dev/null 2>&1 ; then
 		default_kernel=$(grubby --default-kernel | sed -e 's/^.*vmlinuz-//')

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

only message in thread, other threads:[~2026-07-29  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29  9:48 [rpms/akmods] f44: Don't make uneeded broken assumption about kernel location Nicolas Chauvet

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