h0ch5tr4355
h0ch5tr4355

Reputation: 2192

How can I apply patches in the end?

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.

Upvotes: 4

Views: 3994

Answers (1)

Anders
Anders

Reputation: 8981

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).

Upvotes: 5

Related Questions