]> code.ossystems Code Review - openembedded-core.git/commit
sstatesig.py: Replace '_'s with '-'s in SSTATE_LOCKEDSIGS* names.
authorRandy Witt <randy.e.witt@linux.intel.com>
Fri, 12 Sep 2014 18:25:12 +0000 (11:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Sep 2014 21:00:05 +0000 (22:00 +0100)
commit65f558a6f762fb13224091dc22903b58eeb9b392
tree8ac389e522d381f2b36786d13e83e5d9e5b6a352
parent1683815695f39d4bad352348913f927ac8a1bcf5
sstatesig.py: Replace '_'s with '-'s in SSTATE_LOCKEDSIGS* names.

Using underscores in the "types" parts of the variable names can cause
unexpected issues with overrides. For example, if you have both
SSTATE_LOCKEDSIGS_x86_64 and SSTATE_LOCKEDSIGS_x86_64_i586, and i586
is in OVERRIDES, then you lose all of the contents in
SSTATE_LOCKEDSIGS_x86_64 and thus don't get some of the locked sstate.

Using '-'s in the variable names instead, eliminates these issues.

(From OE-Core rev: 6662c412a949a9f6b602c848e6303b19db7e5272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py