Skip to contentSkip to conversation

: When compiling code, how to make a package not hash checked?

yocto [email protected] 2 participants 3 messages Nov 10, 2020 – Nov 11, 2020

lore
Share & tools
lore
#0 lore raw

Dear all,

I would like to ask the reasons for the following problems and how to solve them? When compiling a program, how to make a package not hash checked?

thanks,
Byron

#1 lore raw

Hi Byron,

Quoted 5 lines · On Tue, Nov 10, 2020 at 09:09:05PM +0800, [email protected] wrote:

Dear all,

I would like to ask the reasons for the following problems and how to solve them? When compiling a program, how to make a package not hash checked?

Did you execute the commands that were suggested in the log you sent?

Can you send us the content of the log of the second command please?

Basically, two possible ways this happens:
1. you modified the recipe while bitbake was running. Solution => don't do that.
2. bitbake parses tasks multiple times during a run, therefore, if a variable changes between parses your task will have a different hash. This usually happens with DATETIME. If you don't absolutely need this variable, remove it or find a replacement. If you have to, I think the vardepsexclude variable flag is the way to do it?

Quentin

#2 lore raw

hi Quentin,

Quoted 6 lines · Quentin Schulz

Hi Byron,

Quoted 3 lines · On Tue, Nov 10, 2020 at 09:09:05PM +0800, [email protected] wrote:

Dear all,

Quoted 8 lines
Quoted 2 lines

I would like to ask the reasons for the following problems and how to solve them? When compiling a program, how to make a package not hash checked?

Did you execute the commands that were suggested in the log you sent?

Can you send us the content of the log of the second command please?

This is another package with the same problem:(Run the above command.)

the log in locked-sigs.inc

I would like to ask, is there any way to separate this package from the verification function?

Quoted 11 lines

Basically, two possible ways this happens:
1. you modified the recipe while bitbake was running. Solution => don't do that.
2. bitbake parses tasks multiple times during a run, therefore, if a variable changes between parses your task will have a different hash. This usually happens with DATETIME. If you don't absolutely need this variable, remove it or find a replacement. If you have to, I think the vardepsexclude variable flag is the way to do it?

Quentin

Thanks,
Byron