Skip to content

Rework the add_module_from_symbol API

Emil Velikov requested to merge xexaxo/mkinitcpio:modules-from-symbol into master

Currently the API stands out as very inconsistent wrt the existing ones. Furthermore the documentation explicitly calls implementation details which is rarely a good idea.

Rework it to align with add_all_modules/add_checked_modules. Namely:

  • use plural, we add module_s_
  • drop the -c flag and use two separate functions

Merge request reports