summaryrefslogtreecommitdiff
path: root/bin/bitbake-dumpsig
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:08:08 +0000
commitc5fdc6c02fe4712d3114caccfd759a626bd9677b (patch)
treead071445382aa6fdee1440c56b3e709eb443032a /bin/bitbake-dumpsig
parentd595960fea0988df9004d927bc2ec3439540dd9c (diff)
downloadbitbake-c5fdc6c02fe4712d3114caccfd759a626bd9677b.zip
Add bitbake-dumpsig to make it more obvious how to dump a signatures file
[YOCTO #2057] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-dumpsig')
-rwxr-xr-xbin/bitbake-dumpsig9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/bitbake-dumpsig b/bin/bitbake-dumpsig
new file mode 100755
index 00000000..59740c87
--- /dev/null
+++ b/bin/bitbake-dumpsig
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+import os
+import sys
+import warnings
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
+
+import bb.siggen
+
+bb.siggen.dump_sigfile(sys.argv[1])