<ziga>
I created my own layer "meta-application" with custom distribution, machine, image... which make sure "QT5" and "boost" libraries needed by my GUI application are installed in an image that runs on Beaglebone Black. Now is the time to include my own GUI application in the image as well! I watched Joseph's videos and I know how to use "devtools" to create a more or less working recipe. What is unclear to me is where to put the repository for my
<ziga>
GUI application. I want it to be local (no GitHub, GitLab...) but should I put repository folder at the same level as "meta-application" layer, or should I put it inside the "meta-application" layer (next to the recipe and with a same name). What would be better in your opinion?
davidinux1 has quit [Quit: WeeChat 2.8]
hjones2199[m] has quit [Quit: Client limit exceeded: 20000]
Bardon_ has quit [Ping timeout: 240 seconds]
frieder has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
rsalveti has joined #yocto
zpfvo has quit [Ping timeout: 256 seconds]
berton[m] has quit [Quit: Client limit exceeded: 20000]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 256 seconds]
frieder has quit [Remote host closed the connection]
zpfvo has joined #yocto
<qschulz>
coldspark29[m]: haven't read what you sent but sharing sstate-cache is recommended, same for the downloads directory
berton[m] has joined #yocto
<coldspark29[m]>
Everybody is still in holidays :D
hjones2199[m] has joined #yocto
<qschulz>
ziga: dont't do this, you'll regret it later on. you never have sources for a piece of SW in a build system. have your sources somewhere and then fetch it from your build system
<qschulz>
ziga: why don't you want to have it local only?
<qschulz>
ziga: the point being, what hapens the day you want to be able to build your SW in Buildroot too?
ilunev has joined #yocto
leon-anavi has quit [Quit: Leaving]
dmoseley has joined #yocto
* RP
looks at the autobuilder failures and remembers why he hates software :(
<ziga>
Application is propietary and company does not have GIT server set up at this point. I am not the one who should set it up though. This is why currently I want to do it locally. I just need the advice on how to do it locally. Should I put application's repository folder (a) in the same folder where I already store other layers or (b) inside my layer "meta-application" (for example in a folder "meta-application/recipes-all/application" where
<ziga>
recipe is "meta-application/recipes-all/application.bb")?
<qschulz>
ziga: if there's going to be a git server hosted by your company some time in the future, just have a local git repo
<qschulz>
and in your SRC_URI, have: "git:///home/ziga/project/topsecret"
<qschulz>
note that you'll need to commit every change in that directory and update SRCREV in your recipe (or use AUTOREV mechanism)
thierryE[m] has left #yocto [#yocto]
<qschulz>
another possibility is to use externalsrc
thierryE[m] has joined #yocto
<qschulz>
which would then point to /home/ziga/project/topsecret for example
<ziga>
If I understand correctly option (a) is better than (b).
<qschulz>
but I'd highly suggest not mixing up source code and build system metadata
<ziga>
So... repository should never be part of the layer itself.
<ziga>
Okay.
<qschulz>
the benefit of using a local git repository is that you'll just need to change the URL to your company's git server once it's set up
<qschulz>
the downside is that you need to commit every time for your changes
<qschulz>
for each change*
<qschulz>
not ideal during kickstart of a project
<qschulz>
when you debug things quickly
<qschulz>
but for that you also have devtool to help you
<ziga>
So I ll just set up /home/ziga/yocto/application for application's sources and keep /home/ziga/yocto/meta-application completely separate but reference the application's sources with SRC_URI = "git:///home/ziga/yocto/application".
<qschulz>
/home/ziga/application instead of /home/ziga/yocto/application, but yes
<qschulz>
ziga: you need SRCREV pointing to the commit hash you want to use and also S = "${WORKDIR}/git" in your recipe
<ziga>
Ok. I understand your point. Layer should be separated from the source code. Good. This is what I needed to know.
<qschulz>
and I think you have to explicit the branch name now (good practice anyway)
<ziga>
Okay.
<ziga>
Thank you very much.
<qschulz>
so probably like git:///home/ziga/yocto/application;branch=main or something like that
<qschulz>
ziga: our pleasure, good luck and come back if you have more questions :)
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
marc1 has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
marc1 has quit [Client Quit]
marc1 has joined #yocto
xmn has joined #yocto
dmoseley has quit [Ping timeout: 256 seconds]
dmoseley has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 245 seconds]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 240 seconds]
zpfvo has joined #yocto
Guest89 has quit [Quit: Connection closed]
d0ku has quit [Ping timeout: 256 seconds]
mariusz1 has quit [Ping timeout: 256 seconds]
alimon has joined #yocto
Starfoxxes has quit [Ping timeout: 240 seconds]
vd has joined #yocto
Starfoxxes has joined #yocto
stephano has joined #yocto
sgw has joined #yocto
gioyik has joined #yocto
Wouter0100 has quit [Remote host closed the connection]
<moto-timo>
RP: I need to build and test the rest of those commits before sending to the ML though
Bardon has joined #yocto
<moto-timo>
RP: the other option would be to replace the use of LooseVersion in scripts/buildhistory-diff with the bb.checkver or whatever it was fix
<moto-timo>
RP: as if you would remember what you fixed a month or more ago
<RP>
moto-timo: now you remind me I did that I remember :)
<RP>
moto-timo: I can try adding that patch and running a build on f35. If it does fix things it would be nice and is one less failure on the AB to worry about :)
<moto-timo>
RP: sounds like a plan. I'll start a build on that branch now locally and see how far it goes.
* RP
queues such a test
<RP>
moto-timo: thanks!
<moto-timo>
RP: ha. I did run at least some self test on the nodistutils branch, but let me start fresh with this v2 branch
Tokamak has joined #yocto
stephano[away] is now known as stephano
sakoman has joined #yocto
gioyik has joined #yocto
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #yocto
stephano is now known as stephano[away]
florian has joined #yocto
<vd>
yocto mailing lists end their messages with information links such as "Unsubscribe: https://... [<email>]"
<vd>
problem is I get false positive when querying for my name in the message body
<vd>
is there a way to turn that off?
stephano[away] is now known as stephano
kanavin_ has joined #yocto
Vonter has quit [Ping timeout: 240 seconds]
ecdhe has quit [Read error: Connection reset by peer]
ecdhe has joined #yocto
florian has quit [Ping timeout: 240 seconds]
T_UNIX[m] has quit [Quit: Client limit exceeded: 20000]
amitk_ has joined #yocto
amitk has quit [Ping timeout: 256 seconds]
stephano is now known as stephano[away]
ejoerns[m] has quit [Quit: Client limit exceeded: 20000]