Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 603418
Collapse All | Expand All

(-)a/ecleankernel/bootloader/grub2.py (-2 / +7 lines)
Lines 31-34 class GRUB2(GRUB): Link Here
31
    def _postrm(self):
31
    def _postrm(self):
32
        if self._autogen:
32
        if self._autogen:
33
            self._debug.print('Calling grub2-mkconfig')
33
            self._debug.print('Calling grub2-mkconfig')
34
            subprocess.call(['grub2-mkconfig', '-o', self.path])
34
            try:
35
                subprocess.call(['grub-mkconfig', '-o', self.path])
36
            except OSError as e:
37
                if e.errno != errno.ENOENT:
38
                    raise
39
            else:
40
                subprocess.call(['grub2-mkconfig', '-o', self.path])
35
- 

Return to bug 603418