Skip to content

devicepkg-dev: use jinja2 template for config fragments

Administrator requested to merge kconfig-jinja2 into kconfig-fragments

Also, some refactoring:

  • move applying configs form package below the functions
  • remove add_config function, replace its calling with a simple change of kernel_configs variable

This seems to be functioning very nice, but the file is quite ugly, we can probably make it better by splitting mainline.config into several files (general.config, waydroid.config, nftables.config, etc), but it requires more refactoring, so I'm not doing it right now

Closes #2491 (closed)


Important note

This MR is to the kconfig-fragments branch and not to master, @craftyguy thinks this can be merged with just 1 approval instead of the usual 2. The 1 approval should probably come from either @jenneron or @craftyguy or @ollieparanoid, ask us if you have questions.

Edited by Administrator

Merge request reports

Loading