Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I apply patches in the end?

Tags:

yocto

bitbake

I have a *.bbappend file with only SRC_URI's. There are also patches, but they throw errors because it says that there is no file to patch. The file to patch is fetched in the base recipe.

How can I give the SRC_URI's an order? I played around with both the layer priority and with the append suffixes, but the patch always fails due to missing files.

like image 890
h0ch5tr4355 Avatar asked Oct 15 '25 03:10

h0ch5tr4355


1 Answers

The patches listed in SRC_URI are applied in the same order as they're listed in SRC_URI.

In other words, if you patches still fail to apply, you need to look into how they look like. You might have to play around with the parameter striplevel if you've created the patch in an unusual way. See SRC_URI documentation for more info on the parameter striplevel (and the other parameters).

like image 98
Anders Avatar answered Oct 19 '25 14:10

Anders



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!