Unable to override file by machine for phosphor-ipmi-fru-properties

Benjamin Fair benjaminfair at google.com
Wed Jan 9 09:29:08 AEDT 2019


On Tue, Jan 8, 2019 at 2:22 PM Patrick Venture <venture at google.com> wrote:

> With phosphor-ipmi-fru-properties, if we set the
> FILESEXTRAPATHS_prepend to be machine specific, it can't find the file
> and doesn't add the path, but if we leave off the machine override,
> it'll find the file and use it.
>
>
> https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend
>
> This specifies that for zaius, it should prepend with this path and
> use this override file.
>
> Deleted the extra-properties.yaml file from the original recipe and
> tried building zaius:
>
> WARNING: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Failed
> to fetch URL file://extra-properties.yaml, attempting MIRRORS if
> available
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
> failure: Unable to find file file://extra-properties.yaml anywhere.
> The paths that were searched were:
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>     /usr/local/google/git/workspaces/building_122514933/build/downloads
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
> failure for URL: 'file://extra-properties.yaml'. Unable to fetch URL
> from any source.
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Function
> failed: base_do_fetch
>
> Ok, it can't find it.  But when I delete the machine override on the
> line, basically delete "zaius" it then finds the file and uses the
> zaius file correctly.  This behavior is baffling me, does anybody have
> any ideas?  Has anyone seen this behavior?
>
> Patrick
>

That's because this is a native package. Native packages don't set the
MACHINE within the overrides variable so there's no way to tell what
machine they're being built for.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190108/636328eb/attachment.html>


More information about the openbmc mailing list