summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index f4096e880..c04751976 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -110,7 +110,7 @@ class x86BootloaderInfo:
bootDev = fsset.getEntryByMountPoint("/boot")
grubPath = "/grub"
- cfPath = ""
+ cfPath = "/"
if not bootDev:
bootDev = fsset.getEntryByMountPoint("/")
grubPath = "/boot/grub"
@@ -143,7 +143,7 @@ class x86BootloaderInfo:
for (label, device) in chainList:
f.write('title %s (%s)\n' % (label, version))
f.write('\trootnoverify %s\n' % grubbyPartitionName(device))
- f.write('\tmakeactive')
+ f.write('\tmakeactive\n')
f.write('\tchainloader +1')
f.write('\n')