OE building with recipetool [closed]

Moderator: BarryK

Post Reply
scsijon
Posts: 202
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 18 times

OE building with recipetool [closed]

Post by scsijon »

Before I attempt to build a couple of packages I need and can't find any recipes anywhere for, can i ask for any hints or comments you have relating to OE's recipetool please, or are you using some other way.
thanks

Last edited by scsijon on Thu May 12, 2022 12:27 pm, edited 1 time in total.
User avatar
BarryK
Posts: 2709
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: OE building with recipetool

Post by BarryK »

It's difficult to give hints on creating successful recipes, as OE is so complex.

You can see an example in the first line of the recipe given in latest blog post, of how recipetool was used:

https://bkhome.org/news/202205/scrcpy-c ... edded.html

But, it often creates a very incomplete recipe, and that's where lots of prior experience with getting recipes to work, comes in.
In fact, that recipe for scrcpy is nothing like the auto-generated one.

One useful hint is to compile the package in a running EasyOS first, to clarify the steps required, dependencies, etc. That's what I did with scrcpy, so I knew that the recipe generated by recipetool was very wrong.

I also knew from other recipes, what is required in a meson build.

Sometimes, recipetool does get it exactly right.

scsijon
Posts: 202
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 18 times

Re: OE building with recipetool

Post by scsijon »

thanks, i'll play safe for now then.

Post Reply

Return to “EasyOS”