summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index 3f1419be1..3861e6c80 100644
--- a/packages.py
+++ b/packages.py
@@ -294,8 +294,8 @@ def rpmKernelVersionList(rootPath = "/"):
for f in header['filenames']:
if f.startswith('/boot/vmlinuz-'):
return f[14:]
- elif f.startswith('/boot/efi/vmlinuz-'):
- return f[18:]
+ elif f.startswith('/boot/efi/EFI/redhat/vmlinuz-'):
+ return f[21:]
return ""
def get_tag(header):