aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/generated by cgit 1.2.3-korg (git 2.39.0) at 2024-05-08 06:24:07 +0000
m">task in outtasks: f.write('%s\n' % task) else: for task in outtasks: print(task) return 0 def main(): parser = argparse_oe.ArgumentParser(description='OpenEmbedded sstate check tool. Does a dry-run to check restoring the specified targets from shared state, and lists the tasks that would be restored. Set BB_SETSCENE_ENFORCE=1 in the environment if you wish to ensure real tasks are disallowed.') parser.add_argument('target', nargs='+', help='Target to check') parser.add_argument('-o', '--outfile', help='Write list to a file instead of stdout') parser.add_argument('-l', '--log', help='Write full log to a file') parser.add_argument('-s', '--same-tmpdir', action='store_true', help='Use same TMPDIR for check (list will then be dependent on what tasks have executed previously)') parser.set_defaults(func=check) args = parser.parse_args() ret = args.func(args) return ret if __name__ == "__main__": try: ret = main() except Exception: ret = 1 import traceback traceback.print_exc() sys.exit(ret)