Would the imageversion file still contain a date then?
How to get rid of "Taskhash mismatch"
Re: How to get rid of "Taskhash mismatch" #21
Posted 3 August 2016 - 13:52
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: How to get rid of "Taskhash mismatch" #22
Posted 3 August 2016 - 14:28
just cleansstated the image and after rebuild I got familiar taskhash mismatch error (no idea why it's been temporarily absent when I tested before?)
anyway, I still got this error only for et9500 so it suggests the problem lays in bsp layer(s)
(and still may by caused by this {DATE} in the ubi_append, but the solution is not correct /?/)
Re: How to get rid of "Taskhash mismatch" #23
Posted 3 August 2016 - 14:43
I think this one explain our problems: https://patchwork.op...g/patch/121025/
Lets see this one..
diff --git a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb index f14d2f0..0115258 100644 --- a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb +++ b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb @@ -92,3 +92,4 @@ IMAGE_INSTALL += " \ " export IMAGE_BASENAME = "openpli-enigma2" +IMAGE_CMD[vardepsexclude] = "DATE"
Edited by athoik, 3 August 2016 - 14:53.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: How to get rid of "Taskhash mismatch" #24
Re: How to get rid of "Taskhash mismatch" #25
Posted 3 August 2016 - 15:27
Athoik, this indeed looks familiar. I guess it's the appropriate solution.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: How to get rid of "Taskhash mismatch" #26
Re: How to get rid of "Taskhash mismatch" #27
Posted 5 August 2016 - 20:12
For your own building environment you could always resort to my "solution", just disable the two lines of python code that perform the check
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: How to get rid of "Taskhash mismatch" #28
Re: How to get rid of "Taskhash mismatch" #29
Re: How to get rid of "Taskhash mismatch" #30
Posted 8 August 2016 - 08:39
openembedded-core/meta/classes/rootfs-postcommands.bbclass:ROOTFS_POSTPROCESS_COMMAND += "rootfs_update_timestamp ; " # Can be use to create /etc/timestamp during image construction to give a reasonably # sane default time setting rootfs_update_timestamp () { date -u +%4Y%2m%2d%2H%2M%2S >${IMAGE_ROOTFS}/etc/timestamp }Something like the following?
ROOTFS_POSTPROCESS_COMMAND += "deploy_dir_imageversion ; " deploy_dir_imageversion () { echo ${DISTRO_NAME}-${DISTRO_VERSION}-${DATE} > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/imageversion }
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: How to get rid of "Taskhash mismatch" #31
Posted 8 August 2016 - 09:33
I exeperimented with something similar:
createimageversionfile() { mkdir ${DEPLOY_DIR_IMAGE}/${IMAGEDIR} echo ${DISTRO_NAME}-${DISTRO_VERSION}-${DATE} > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/imageversion } ROOTFS_POSTINSTALL_COMMAND += "createimageversionfile;"and it did the job,
however, the problem is how to exclude boxes that don't need it (dm, vu, wetek, xsarius)?
for vu it just creates unnecessary IMAGEDIR/imageversion in deploy but build is ok, but for xsarius build fails with this
Re: How to get rid of "Taskhash mismatch" #32
Re: How to get rid of "Taskhash mismatch" #33
Re: How to get rid of "Taskhash mismatch" #34
Re: How to get rid of "Taskhash mismatch" #35
Posted 10 August 2016 - 20:09
the only use of this DATE in imageversion that I know is that it could have saved you once from accidental flashing some ooold image
(which somehow happened to be on your pendrive instead of that brand new you were going to install )
Re: How to get rid of "Taskhash mismatch" #36
Posted 15 August 2016 - 14:10
How about an alternative to include the date without OE noticing it
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: How to get rid of "Taskhash mismatch" #37
Posted 15 August 2016 - 18:18
Re: How to get rid of "Taskhash mismatch" #38
Posted 15 August 2016 - 18:23
The first comment, opinions may differ, but the second, yeah, I guess you have a strong point there.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: How to get rid of "Taskhash mismatch" #39
Posted 17 August 2016 - 06:35
yeah, like I have two version, no dates or version numbers. So which is the latest one?
And when you build something twice, without differences, this 'date' also shouldn't change so you end up with the same thing (unless for some reason you want to contain the builddate in your build)
Re: How to get rid of "Taskhash mismatch" #40
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users