diff options
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/bootloader.py b/bootloader.py index 3144f43d9..121a51490 100644 --- a/bootloader.py +++ b/bootloader.py @@ -203,7 +203,7 @@ class bootloaderInfo: (fsType, sl) = lilo.getImage(label) lilo.delImage(label) except IndexError: - sl = LiloConfigFile(imageType = "other", path = device) + sl = LiloConfigFile(imageType = "other", path = "/dev/%s" %(device)) sl.addEntry("optional") sl.addEntry("label", label) @@ -239,18 +239,6 @@ class bootloaderInfo: return lilo - lilo.write(instRoot + self.configfile, perms = self.perms) - - if not justConfigFile: - # throw away stdout, catch stderr - str = iutil.execWithCapture(instRoot + '/sbin/lilo' , - [ "lilo", "-r", instRoot ], - catchfd = 2, closefd = 1) - else: - str = "" - - return str - def write(self, instRoot, fsset, bl, langs, kernelList, chainList, defaultDev, justConfig): |