From 2a42dcb7c2ede46a5371278c86678ff38880cf88 Mon Sep 17 00:00:00 2001 From: IgorYbema Date: Sat, 9 Feb 2019 07:35:07 +0100 Subject: [PATCH] Write payload with boot_only Add an option to not clean (or better do write) the payload with boot_only --- rooter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rooter.py b/rooter.py index 13e2c88..719cb6c 100644 --- a/rooter.py +++ b/rooter.py @@ -57,6 +57,9 @@ def run(self): self.patch_uboot() if boot_only: log.info("Your Toon is now booting into a serial console") + if not cleanup_payload: + self.write_payload() + log.info("The payload is stored in the payload directory") else: log.info("Waiting for boot up") self.write_payload()