From 376954e900cda0caad15a77ea83ae5d83736958c Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 19 Jul 2012 00:24:05 +0200 Subject: [PATCH] anaconda: more general (and working...) detection of qubes kernel --- anaconda/booty/x86.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda/booty/x86.py b/anaconda/booty/x86.py index ff7eb52..4f74c02 100644 --- a/anaconda/booty/x86.py +++ b/anaconda/booty/x86.py @@ -349,7 +349,7 @@ class x86BootloaderInfo(efiBootloaderInfo): if initrd: f.write('\tmodule %s%s\n' % (cfPath, initrd)) - elif version.find("xenlinux") >= 0 || version.find("pvops") >= 0: + elif version.find("qubes") >= 0: # Qubes kernel hvFile = "%sxen.gz" %(cfPath) f.write('\tkernel %s console=com1\n' %(hvFile,))