diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-21 17:08:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-21 17:10:17 +0000 |
commit | 70a03756d4c9dc93402e2db3d71f515de91b6fa0 (patch) | |
tree | db501328759a09a19a032e92d25e5c013d5f71a0 /bitbake/bin/bitbake-dumpsig | |
parent | 287d01851846b14bf5378077f5d8c9edf0fa4121 (diff) | |
download | poky-70a03756d4c9dc93402e2db3d71f515de91b6fa0.tar.gz |
Add bitbake-dumpsig to make it more obvious how to dump a signatures file
[YOCTO #2057]
(Bitbake rev: c5fdc6c02fe4712d3114caccfd759a626bd9677b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-dumpsig')
-rwxr-xr-x | bitbake/bin/bitbake-dumpsig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-dumpsig b/bitbake/bin/bitbake-dumpsig new file mode 100755 index 0000000000..59740c87c9 --- /dev/null +++ b/bitbake/bin/bitbake-dumpsig | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/usr/bin/env python | ||
2 | import os | ||
3 | import sys | ||
4 | import warnings | ||
5 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) | ||
6 | |||
7 | import bb.siggen | ||
8 | |||
9 | bb.siggen.dump_sigfile(sys.argv[1]) | ||