siggen.py: Use basehash if no taskhash
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 6 Mar 2012 06:04:36 +0000 (14:04 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Mar 2012 02:26:23 +0000 (02:26 +0000)
commit8c9cedb77829837f6d07bea9d3ea4ba69c85e842
tree217e85dad30b79b8ac0bf73be9e53ac482eeda72
parent3932f3500446743b5d4caae835cc62e92814a49f
siggen.py: Use basehash if no taskhash

The bitbake-runtask doesn't work since there is no taskhash (it worked
in the past, but seems recent changes made it doesn't work again), use
the basehash when there is no taskhash, just like what dump_sigtask
does.

[YOCTO #1229]

(Bitbake rev: b36f2e3803dfc494d5b171759f55faf33708e6f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/siggen.py