template replacement

James Feist james.feist at linux.intel.com
Wed Aug 14 08:51:09 AEST 2019


On 8/12/19 9:10 AM, Patrick Venture wrote:
> I've run into an issue and before I submitted a patch to solve my
> specific problem, I wanted to get a sense of what was intended:
> 
> I have a field "name" that I want to set dynamically to "$bus_v2345_0_local"
> It finds the $bus match but then fails on the split.
> If I add a " " it then fails as well.
> 
> It seems to be that if a template is at the end of the field, it works
> fine, otherwise it assumes there must be some operation to perform.
> 
> Did you already have a fix in mind?

I pushed a patch to add unit tests to this function so we can work apart 
the issues we're seeing. I think this specific issue was fixed in my patch.

-James

> 
> Patrick
> 


More information about the openbmc mailing list