summaryrefslogtreecommitdiffstats
path: root/booty/x86.py
diff options
context:
space:
mode:
Diffstat (limited to 'booty/x86.py')
-rw-r--r--booty/x86.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/booty/x86.py b/booty/x86.py
index 8bb77579f..2ef765fed 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -1,6 +1,7 @@
import os
import string
+from booty import BootyNoKernelWarning
from bootloaderInfo import *
import checkbootloader
import fsset
@@ -528,7 +529,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
return
if len(kernelList) < 1:
- self.noKernelsWarn(intf)
+ raise BootyNoKernelWarning
out = self.writeGrub(instRoot, bl, kernelList,
chainList, defaultDev,