mischief has quit [Read error: Connection reset by peer]
mischief has joined #yocto
geoff_ has quit [Remote host closed the connection]
Daanct12 has joined #yocto
geoff_ has joined #yocto
<geoff_>
halloy4743: It depends if you use a package manager like opkg, rpm, etc. to update your packages on a target. If so you should use a PR server and set PV = "1.0+git${SRCPV}" in your AUTOREV recipes so the package versions increase via the AUTOINC placeholder varialble. (AUTOINC is not the same as AUTOREV). You can use AUTOREV without a PR service running. bitbake will query the repo of each AUTREV recipe during the build and download
<mischief>
after a few years of personal experience using AUTOREV, i would suggest not using it.
ehussain has joined #yocto
<khem>
stgl: maybe halstead can help ?
<khem>
Tyaku: are you building using OE buildsystem or using the SDK generated out of OE builds
khem has quit [Quit: WeeChat 4.4.4]
khem has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.4.4]
Daanct12 has joined #yocto
ehussain has quit [Remote host closed the connection]
reatmon_ has quit [Remote host closed the connection]
reatmon_ has joined #yocto
jmd has joined #yocto
dmoseley_ has joined #yocto
dmoseley has quit [Ping timeout: 252 seconds]
ablu has quit [Ping timeout: 260 seconds]
ablu has joined #yocto
adadad has quit [Quit: ZNC 1.9.1+deb2+b1 - https://znc.in]
adadad has joined #yocto
amitk_ has quit [Ping timeout: 248 seconds]
Xagen has quit [Ping timeout: 244 seconds]
amitk has joined #yocto
Xagen has joined #yocto
RP has quit [Ping timeout: 246 seconds]
jmd has quit [Remote host closed the connection]
RP has joined #yocto
Kubu_work has joined #yocto
Xagen has quit [Ping timeout: 246 seconds]
Najjar has joined #yocto
Xagen has joined #yocto
<Najjar>
Hello eveyone,
<Najjar>
I have a quick question regarding the virtual/kernel recipe.
<Najjar>
What causes the WORKDIR to be cleaned automatically and work-shared removed after building the kernel ?
<Najjar>
I am not inherting rm_work also.
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #yocto
Kubu_work has quit [Client Quit]
<Tyaku>
khem: I was using the toolchain generated by Yocto, to build externally. But the problem is fixed: To build kernel modules using the toolchain, we firstly need to "prepare" the toolchain for it with 'make scripts prepare' command in toolchain_dir/sysroots/cortexa55-poky-linux/lib/modules/5.10.201-cip41-yocto-standard/build
sakoman has quit [Read error: Connection reset by peer]
sakoman has joined #yocto
gspbirel56 has quit [Ping timeout: 264 seconds]
ehussain has joined #yocto
ehussain has quit [Ping timeout: 265 seconds]
Kubu_work has joined #yocto
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #yocto
florian has joined #yocto
frgo_ has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
florian has quit [Ping timeout: 252 seconds]
Daanct12 has quit [Quit: WeeChat 4.4.4]
jmd has joined #yocto
tgamblin has quit [Remote host closed the connection]
jmd has quit [Remote host closed the connection]
jmd has joined #yocto
cyxae has joined #yocto
vvn has joined #yocto
Tyaku has quit [Quit: Lost terminal]
jmd has quit [Remote host closed the connection]
jmd has joined #yocto
ptsneves has joined #yocto
ptsneves has quit [Read error: Connection reset by peer]
ptsneves1 has joined #yocto
ptsneves1 is now known as ptsneves
geoff__ has joined #yocto
geoffhp has quit [Ping timeout: 244 seconds]
geoffhp has joined #yocto
geoff__ has quit [Ping timeout: 265 seconds]
Kubu_work has quit [Quit: Leaving.]
<halloy4743>
geoff_: Currently not using a package manager at all. Working with a yocto project I inherited. The AUTOREV is used in the recipes for our private application git repos that are built in our layer
<halloy4743>
In general PV ends up as e.g. 3.0.3+gitAUTOINC+25efc6ade8, where the checksum is the git commit
<halloy4743>
But in one odd case PV ends up as: 0.10.8+gitAUTOINC+_c025a727f1_9693c926d8_f6a588d8d8, but I don't understnd why there are three checksums there.
<halloy4743>
And Using AUTOREV just to add the label "AUTOINC" to that PV seems pointless.
<halloy4743>
Like I said I'm new to this so there is plenty that doesn't make sense to me yet. I want the git commit hash in the PV, but not the AUTOINC label (?)
<khem>
Najjar: everything under TMPDIR is treated ephemeral by the build system. So any change that requires sources to be modified that can result in do_unpack/do_patch to be rerun which will remove the sources and create then afresh and rerun followup tasks as well e.g. configure/compile/install etc.
<khem>
Najjar:if you want sources to persist, look into devtools method of setting up external tree for a recipe during development
<khem>
halloy4743: AUTOREVs are not recommended in general, they are a convenience for developers for short term activities perhaps to run a tight CI loop or some such
<khem>
halloy4743:those underscores that you see in PV are due to multiple SRC_URIs
<khem>
it has multiple git repos being checked out
<khem>
and then it adds SRCREV_FORMAT which is responsible to add these versions between underscores for each repo referred to by name= in SRC_URI
<khem>
to get rid of AUTOINC you need to enable PR server which will replace it with a number which is always incremented on rebuild of that package
<khem>
you can set something like PRSERV_HOST ?= "localhost:0" in local.conf if you do not have central PR server
JerryM has joined #yocto
florian has joined #yocto
<JerryM>
anyone who knows if the tickets for openembedded workshop at fosdem are all sold out or whether there will be more available later?
<khem>
JerryM:reach out to Phil Balister
<geoff_>
halloy4743: I agree with mischief, after many years of using AUTOREV on a project I inherited, I wish we ditched it long ago and switched to using fixed SRCREV hashes. I plan to switch over this year. It's like quiting a bad habit. The best way to quit is never start it in the first place :-).
<mischief>
we have way too many and it makes the build slow as hell, and the build often breaks when people update the code being built
<khem>
think of amounts of git ls-remotes you are doing as a result for no reason.
<khem>
your git servers will be inundated as you scale
<khem>
AUTOREV impacts are multifold with one convenience, that build system will automagically include your changes
<mischief>
khem: i am acutely aware but other people don't want to change it.
<khem>
I know a case where they have to keep putting more compute and more morrors for gerrit because builds were pouding the server and git access became so slow for everyone
<mischief>
we use github, but i would probably be annoyed by us if i was github
<halstead>
stgl: Please forward the rejection notice email to helpdesk@yoctoproject.org with the address you subscribed to openembedded-core list with.