Avoid gfxboot lockup when booting antiX via syslinux.

pull/333/head
Shinji Suzuki 6 years ago
parent 437f7264ce
commit d0babd1705

@ -925,6 +925,11 @@ class AntixConfigTweaker(NoPersistenceTweaker):
self.setup_params.distro_path)
return [(ops, starter_is_either('append', 'APPEND', 'linux'))]
def post_process(self, s):
s = re.sub(r'^(\s*UI\s+(.*?gfxboot(\.c32|)))\s+(.*?)\s+(.*)$',
r'# \1 \4.renamed-to-avoid-lockup \5', s,
flags=re.I + re.MULTILINE)
return s
class SalixConfigTweaker(NoPersistenceTweaker):

Loading…
Cancel
Save