I figured it out the problem was that in meta-layer1 we had SRC_URI_append_machine1 += "file://0001-patch-one.patch" this apparently will always be added to the end of SRC_URI list and thereby the meta-layer2 patches will be applied first. Is it possible to get machine specific patches applied first?
BR Den tis 14 juli 2020 kl 13:29 skrev zigext <[email protected]>: > > I have debugged cooker.py and everything looks good it produces a list > of the bbappend files that matches the expected result so something is > screwing it up when the recipe is baked since I can see that the order > is wrong when dumping the environment for the virtual/kernel. > > BR > > Den tis 14 juli 2020 kl 11:21 skrev zigext <[email protected]>: > > > > Hi, > > > > I am using thud for my distro and I have two bbappend for my kernel I > > need to make sure that meta-layer1 is parsed before meta-layer2 to get > > the patches applied in the right order. So the patches in meta-layer2 > > need to be applied after meta-layer1 patches have been applied. I have > > adjusted the BBFILE_PRIORITY accordingly so layer1 has 1120 and layer2 > > has 1110 based on "A larger value for the BBFILE_PRIORITY variable > > results in a higher precedence." but whatever I do I am still getting > > the wrong order and do_patch is failing. Any pointers to what I am > > doing wrong? I must be doing something wrong that is preventing the > > BBFILE_PRIORITY in my layer.conf to have an effect. Running > > "bitbake-layers show-layers" shows the expected output but when > > running the do_patch it is wrong and when dumping the env using > > "bitbake -e virtual/kernel" it is clear the order is wrong. > > > > BR
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49943): https://lists.yoctoproject.org/g/yocto/message/49943 Mute This Topic: https://lists.yoctoproject.org/mt/75495211/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
