On 06/05/2017 12:32, Jon Turney wrote: > On 05/05/2017 23:06, Yaakov Selkowitz wrote: >> On 2017-05-02 08:13, Jon Turney wrote: >>> The values which SRC_URI and PATCH_URI evaluate to should not change >>> depending on ARCH, as this will make the source package arch-dependent >> >> I think this would require a proper src_prep first, so that patches may >> be still be arch-conditionalized there instead. > > Ok, that makes sense. > > So I guess there could be a hook called for each patch to cause it to be > applied/skipped, or to adjust the patch list? Or do you think more of > __src_prep needs to be customizable? Attached is an implementation of the first suggestion.