]> code.ossystems Code Review - openembedded-core.git/commit
update-alternatives.bbclass: don't expand var when appending do_install
authorKevin Tian <kevin.tian@intel.com>
Sun, 21 Nov 2010 02:32:50 +0000 (10:32 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 21 Nov 2010 18:17:24 +0000 (18:17 +0000)
commitad0e271a0337a58c039bf6c0d01684783bbc214f
tree09f20bf56532de34df3793f681bcd5e9e3e8120e
parentbd3b63179ccdb030dbf0ff1e792b896f0e1476ae
update-alternatives.bbclass: don't expand var when appending do_install

Or else absolute paths may be expanded which then breaks sstate signature
comparison.

I'm not sure whether pre/post funcs can be expanded or not. They are
invoked at image build or on the target, and thus need be expanded some
place. But if one recipe does use directories under TMP in its postinst
helpers, this would be an issue again.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
meta/classes/update-alternatives.bbclass