summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 17:08:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 17:10:17 +0000
commit70a03756d4c9dc93402e2db3d71f515de91b6fa0 (patch)
treedb501328759a09a19a032e92d25e5c013d5f71a0
parent287d01851846b14bf5378077f5d8c9edf0fa4121 (diff)
downloadpoky-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>
-rwxr-xr-xbitbake/bin/bitbake-dumpsig9
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
2import os
3import sys
4import warnings
5sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
6
7import bb.siggen
8
9bb.siggen.dump_sigfile(sys.argv[1])