<dvorkindmitry>
If I add DATE to DISTRO_VERSION = "3.1.3-${DATE}", it will fail on the next date build (case directory names are different on next day)
<dvorkindmitry>
rber|res, I see it. somebody told me If I exclude DATE from vardepexclude I'll have long builds of SDK every time
<rber|res>
If you make your DATE a different variable with a fixed string does it work?
<dvorkindmitry>
rber|res, just for experiment?
<rber|res>
Well we can argue about how useful it is what you do later ;)
<rber|res>
Let's first see if we can get it built at all.
<rber|res>
My first attempt would be with a fixed string and not DATE, which probably reads the current date/time
<dvorkindmitry>
ok. now I'm setting DISTRO_VERSION = "3.1.3-210716000000", SDK_VERSION = "${@d.getVar('DISTRO_VERSION')}", TOOLCHAIN_OUTPUTNAME is commented out. building.
<rber|res>
If that's the problem, then vardepexclude might help
<rber|res>
OK
<rber|res>
Would it be OK to build and rename it afterwards?
<rber|res>
This would save you a lot of problems I believe.
<rber|res>
also you might want to have a look at how it's done with images, since those have definitely a date/time stamp in there
<dvorkindmitry>
rber|res, yes. the problem is that I could forget to add timestamp and also the date is significant when customer asks questions on SDK/image problems
<dvorkindmitry>
so I need a way to see the build timestamp for image and for SDK
<dvorkindmitry>
after they are installed
<dvorkindmitry>
when I set DISTRO_VERSION = "3.1.3-${DATE}" the only problem I see is "locales.../" directory DATED name build does ot corresponds to current date and it fails.
goliath has joined #yocto
<rber|res>
You could just change the version number to identify which version of the SDK is used. Let me try to show you what I mean.
<rber|res>
I am talking about the DISTRO_VERSION
<rber|res>
Or
<rber|res>
If you use master it's something like this: DISTRO_VERSION = 3.3+snapshot-5dce2f3da20a14c0eb5229696561b0c5f6fce54c
zyga has joined #yocto
Vonter has quit [Ping timeout: 268 seconds]
zyga has quit [Quit: Leaving]
<dvorkindmitry>
rber|res, that build was successfull
<rber|res>
I mean how does a build date/time relate to the meta-data you modified?
<rber|res>
And actually you need it from all the layers and not a single one ;)
Guest77 has joined #yocto
florian has quit [Ping timeout: 268 seconds]
camus has joined #yocto
camus has quit [Ping timeout: 255 seconds]
jwillikers has joined #yocto
<dvorkindmitry>
rber|res, I set DISTRO_VERSION = "3.1.3-210716000000"
camus has joined #yocto
jwillikers has quit [Remote host closed the connection]
<dvorkindmitry>
now building with DISTRO_VERSION = "3.1.3-${DATE}", and commented-out two variabls: #DISTRO_VERSION[vardepsexclude] = "DATE", #SDK_VERSION[vardepsexclude] = "DATE"
jwillikers has joined #yocto
<rber|res>
I would try something like MYDATE="${DATE}" and use ${MYDATE}
<dvorkindmitry>
Ш цшдд екн
<dvorkindmitry>
I will try
florian has joined #yocto
Guest15 has joined #yocto
Guest15 has quit [Client Quit]
<dvorkindmitry>
rber|res, it works
<rber|res>
cool!
paulg has joined #yocto
Guest77 has quit [Quit: Ping timeout (120 seconds)]
Guest77 has joined #yocto
Guest77 has quit [Quit: Client closed]
Guest77 has joined #yocto
zyga-mbp has joined #yocto
florian has quit [Ping timeout: 265 seconds]
paulg has quit [Ping timeout: 268 seconds]
dmoseley has quit [Ping timeout: 268 seconds]
warthog9 has quit [Ping timeout: 268 seconds]
mischief1 has joined #yocto
mischief has quit [Read error: Connection reset by peer]
dmoseley has joined #yocto
warthog9 has joined #yocto
Guest77 has quit [Quit: Client closed]
florian has joined #yocto
amitk has joined #yocto
amitk_ has quit [Ping timeout: 246 seconds]
goliath has quit [Quit: SIGSEGV]
leon-anavi has quit [Read error: Connection reset by peer]
leon-anavi has joined #yocto
alimon has joined #yocto
ant__ has quit [Quit: Leaving]
Vonter has joined #yocto
argonautx has joined #yocto
florian has quit [Read error: Connection reset by peer]
florian has joined #yocto
dmoseley has quit [Read error: Connection reset by peer]
dmoseley has joined #yocto
sakoman has joined #yocto
goliath has joined #yocto
leon-anavi has quit [Read error: Connection reset by peer]
florian has quit [Ping timeout: 268 seconds]
argonautx has quit [Quit: Leaving]
florian has joined #yocto
florian has quit [Ping timeout: 255 seconds]
florian has joined #yocto
dmoseley_ has joined #yocto
dmoseley has quit [Ping timeout: 258 seconds]
dmoseley_ has quit [Read error: Connection reset by peer]
dmoseley has joined #yocto
amitk has quit [Ping timeout: 268 seconds]
<dvorkindmitry>
rber|res, thank you!
amitk has joined #yocto
leon-anavi has joined #yocto
leon-anavi has quit [Remote host closed the connection]
jwillikers has quit [Remote host closed the connection]