sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 17 Sep 2014 07:22:26 +0000 (15:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Sep 2014 21:00:26 +0000 (22:00 +0100)
commitcf9ba559618ecdca742ca88f8b30a4e5885fddd9
treeae1b18a7106c0753f38dda59e686e0d714eeb836
parentfc677d255ac506dfd519bd8015d04e0f9d11c3ab
sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586

Require a sig file which SIGGEN_LOCKEDSIGS_i586 is not null, but
the actual SIGGEN_LOCKEDSIGS_i586 is null.
Invoking 'bitbake -e' and we got:
...
 3935 # $SIGGEN_LOCKEDSIGS_i586 [2 operations]
 3936 #   set /path/to/locked-sigs.inc:8576
 3938 #   del data_smart.py:406 [finalize]
 3939 #     ""
...

It was caused by the following commit:
...
(Bitbake rev: 899d45b90061eb3cf3e71029072eee42cd80930c)
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Tue May 31 23:52:50 2011 +0100

    bitbake/data_smart: Change overrides behaviour to remove expanded
      variables from the datastore
...

We add prefix 't-' to type to workaround the overrides behaviour.

(From OE-Core rev: f6a39cc957bf85ff43513f0b76afc3b2c9c906b6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py