mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
bitbake: siggen: Fix rare file-checksum hash issue
There is a subtle issue with full pathnames being included in the file checksums since the sorting might be different depending upon how layers are being setup causing hash mismatches for recipes appeneded from other layers with differing directory layouts. Avoid this by filtering out to the path basename which is what is written into the sig data anyway later in the code. (Bitbake rev: 83acc21cdfdb410082c0871ac7693d29a7c5627d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
27eeb5e70b
commit
c6b883106b
|
@ -878,7 +878,7 @@ def clean_checksum_file_path(file_checksum_tuple):
|
|||
f, cs = file_checksum_tuple
|
||||
if "/./" in f:
|
||||
return "./" + f.split("/./")[1]
|
||||
return f
|
||||
return os.path.basename(f)
|
||||
|
||||
def dump_this_task(outfile, d):
|
||||
import bb.parse
|
||||
|
|
Loading…
Reference in New Issue
Block a user