mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
These functions become a little bit more reusable if they return a list containing the output rather than just printing it. (Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
348 B
Executable File
348 B
Executable File
#!/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
if len(sys.argv) > 2: output = bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2]) else: output = bb.siggen.dump_sigfile(sys.argv[1])
if output: print '\n'.join(output)