public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/akmods] f44: Don't make uneeded broken assumption about kernel location
Date: Wed, 29 Jul 2026 09:48:46 GMT	[thread overview]
Message-ID: <178531852641.1.15780516065979284349.rpms-akmods-66159377b3e7@fedoraproject.org> (raw)

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-//')

                 reply	other threads:[~2026-07-29  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178531852641.1.15780516065979284349.rpms-akmods-66159377b3e7@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox