summaryrefslogtreecommitdiff
path: root/bitbake/bin/bitbake-diffsigs
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-30 09:35:23 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-30 18:02:35 +0100
commit1d52fa5269da078a0be23fcbee42e76c5328b919 (patch)
tree30accfaa7e1077316149a78d35bfd085ef222e8f /bitbake/bin/bitbake-diffsigs
parent1c91f32f5e86c4c653b6f507bc32419a815ab40d (diff)
downloadopenembedded-core-1d52fa5269da078a0be23fcbee42e76c5328b919.tar.gz
openembedded-core-1d52fa5269da078a0be23fcbee42e76c5328b919.tar.bz2
openembedded-core-1d52fa5269da078a0be23fcbee42e76c5328b919.zip
bitbake/bitbake-sigdiff: Extend to handle dumping single state siginfo files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin/bitbake-diffsigs')
-rwxr-xr-xbitbake/bin/bitbake-diffsigs5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index e5595cdf58..5eb77ce59d 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -6,4 +6,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), '
import bb.siggen
-bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
+if len(sys.argv) > 2:
+ bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
+else:
+ bb.siggen.dump_sigfile(sys.argv[1])