-
What would be a good approach to changing the flash layout, particularly for the tegrademo-mender. For the default jetson-tx2-devkit.conf there is: PARTITION_LAYOUT_TEMPLATE ?= "flash_l4t_t186.xml" I think there is basically two approaches, 1 Change which file PARTITION_LAYOUT_TEMPLATE references I haven't a clear understanding of which is better, and I also think there is some dependencies somewhere that determines which method will actually work. Extending that to tegrademo-mender, it looks like within meta-mender-tegra\tegra-binaries\mender-custom-flash-layout is the flash_mender.xml by machine that I need to override or overwrite with my desired one. My brain dead approach might be to create a mender-custom-flash-layout_%0.bbappend that contains a do_install (_append?) that would copy my changed flash_mender.xml in place of whatever the original .bb did. Or if one has a same name file in the same tree structure for a recipe does a bbappend with 'FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"' mean it will look for the file in my layer first? Maybe this is driven more by befuddlement in quite how to override recipes/files in yocto generically. Maybe it is so simple I'm overcomplicating things here...lol |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can answer one of my own questions,; Yes, a simple bbappend with the prepend will cause a recipe to locate the file I want it to use. But.....I can also lament the fact if the said bbappend filename uses a ',' instead of a '.' nothing will complain and even 'bitbake-layers show-appends' will correctly show the recipe is appended, but it won't find the file and leave you confused as to why. |
Beta Was this translation helpful? Give feedback.
I can answer one of my own questions,;
Yes, a simple bbappend with the prepend will cause a recipe to locate the file I want it to use. But.....I can also lament the fact if the said bbappend filename uses a ',' instead of a '.' nothing will complain and even 'bitbake-layers show-appends' will correctly show the recipe is appended, but it won't find the file and leave you confused as to why.