Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 443832 Details for
Bug 521756
app-admin/eclean-kernel should keep sources not in /usr/src
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Still the same after this
grub2-fix.patch (text/plain), 1.05 KB, created by
Kajzer
on 2016-08-21 18:27:26 UTC
(
hide
)
Description:
Still the same after this
Filename:
MIME Type:
Creator:
Kajzer
Created:
2016-08-21 18:27:26 UTC
Size:
1.05 KB
patch
obsolete
>--- a/ecleankernel/bootloader/grub2.py 2016-08-21 20:08:11.375201000 +0200 >+++ a/ecleankernel/bootloader/grub2.py 2016-08-21 20:08:52.813851857 +0200 >@@ -8,18 +8,18 @@ > > from .grub import GRUB > >-grub2_autogen_header = '''# >+grub_autogen_header = '''# > # DO NOT EDIT THIS FILE > # > # It is automatically generated by grub2-mkconfig''' > > class GRUB2(GRUB): >- name = 'grub2' >+ name = 'grub' > kernel_re = r'^\s*linux\s*(\([^)]+\))?(?P<path>\S+)' >- def_path = ('/boot/grub/grub.cfg', '/boot/grub2/grub.cfg') >+ def_path = ('/boot/grub/grub.cfg', '/boot/grub/grub.cfg') > > def _get_kernels(self, content): >- self._autogen = content.startswith(grub2_autogen_header) >+ self._autogen = content.startswith(grub_autogen_header) > > if self._autogen: > self._debug.print('Config is autogenerated, ignoring') >@@ -29,5 +29,5 @@ > > def _postrm(self): > if self._autogen: >- self._debug.print('Calling grub2-mkconfig') >- subprocess.call(['grub2-mkconfig', '-o', self.path]) >+ self._debug.print('Calling grub-mkconfig') >+ subprocess.call(['grub-mkconfig', '-o', self.path])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 521756
: 443832