docmatcher: Handle deprecated genkernel parameters

cleanup-cruft
Sebastian Pipping 14 years ago
parent 69cc4a8927
commit bcfc01eeb3

@ -23,6 +23,7 @@ EXTRA_VARIABLES = tuple(EXTRA_VARIABLES)
IGNORE_OPTIONS = ('help', 'version')
_GPG_PARAMETERS = ('encrypt', 'symmetric')
IGNORE_PARAMETERS = _GPG_PARAMETERS
DEPRECATED_PARAMETERS = ('lvm2', 'evms2', 'gensplash', 'gensplash-res')
def exract_gen_cmdline_sh():
@ -57,6 +58,8 @@ def exract_gen_cmdline_sh():
para_name = match.group(1)
if para_name in IGNORE_OPTIONS:
continue
if para_name in DEPRECATED_PARAMETERS:
continue
gen_cmdline_sh_parsing_long_params.add(para_name)
gen_cmdline_sh_variables = set()

Loading…
Cancel
Save