<div dir="ltr"><div dir="ltr">On Tue, Jan 8, 2019 at 2:22 PM Patrick Venture <<a href="mailto:venture@google.com" target="_blank">venture@google.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">With phosphor-ipmi-fru-properties, if we set the<br>
FILESEXTRAPATHS_prepend to be machine specific, it can't find the file<br>
and doesn't add the path, but if we leave off the machine override,<br>
it'll find the file and use it.<br>
<br>
<a href="https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend" rel="noreferrer" target="_blank">https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend</a><br>
<br>
This specifies that for zaius, it should prepend with this path and<br>
use this override file.<br>
<br>
Deleted the extra-properties.yaml file from the original recipe and<br>
tried building zaius:<br>
<br>
WARNING: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Failed<br>
to fetch URL file://extra-properties.yaml, attempting MIRRORS if<br>
available<br>
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher<br>
failure: Unable to find file file://extra-properties.yaml anywhere.<br>
The paths that were searched were:<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/df-openpower<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/df-openpower<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/df-openpower<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/gbmc<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/gbmc<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/gbmc<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/x86-64<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/x86-64<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/x86-64<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/<br>
/usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/<br>
/usr/local/google/git/workspaces/building_122514933/build/downloads<br>
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher<br>
failure for URL: 'file://extra-properties.yaml'. Unable to fetch URL<br>
from any source.<br>
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Function<br>
failed: base_do_fetch<br>
<br>
Ok, it can't find it. But when I delete the machine override on the<br>
line, basically delete "zaius" it then finds the file and uses the<br>
zaius file correctly. This behavior is baffling me, does anybody have<br>
any ideas? Has anyone seen this behavior?<br>
<br>
Patrick<br></blockquote><div><br></div>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.</div>
</div>