[Buildroot] [PATCH] Allow overriding the VCS exclude list with *_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS
Peter Korsgaard
peter at korsgaard.com
Sun Jun 23 20:08:59 UTC 2019
>>>>> "Jan" == Jan Kundrát <jan.kundrat at cesnet.cz> writes:
> We have some internal packages which automatically bake a version string
> from the git checkout, and we usually combine these with a
> *_OVERRIDE_SRCDIR. I would like to let Buildroot *not* skip the .git
> directory when picking up sources from the local checkout. It turns out
> that the existing mechanism (*_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS) only
> supports adding to the exclude list because `rsync` simply uses the
> first match from the provided filtering rules.
> Solve this by using the user-provided values first. If they match, then
> `rsync` won't exclude stuff based on the generic VCS exclude patterns.
> Signed-off-by: Jan Kundrát <jan.kundrat at cesnet.cz>
Committed to 2019.02.x and 2019.05.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list