Commits

Michał Górny  committed 3c0d9c6

GRUB2: look for config file in /boot/grub2.

  • Participants
  • Parent commits 9608901

Comments (0)

Files changed (1)

File ecleankernel/bootloader/grub2.py

 class GRUB2(GRUB):
 	name = 'grub2'
 	kernel_re = r'^\s*linux\s*(\([^)]+\))?(?P<path>\S+)'
-	def_path = '/boot/grub/grub.cfg'
+	def_path = '/boot/grub2/grub.cfg'
 
 	def _get_kernels(self, content):
 		self._autogen = content.startswith(grub2_autogen_header)