Skip to content

Add --extend-define that allows extending list defines

Alexander Larsson requested to merge extend-define into main

This is commonly used for e.g. extra_rpms, if you want to pass in an original list of rpms from somewhere, but then extend it.

The behavior is:

  • if the key is unset before, we initialize it with a list
  • if the value is a list, we join the list to the old list
  • if the value is not a list we append the item to the old list

Merge request reports