From 81c124178e950cd756d8effb72c19505b7651727 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Fri, 6 Sep 2019 16:42:37 +0200 Subject: Copy the image and U-Boot rom when using overlays. Since bitbake can remove old images that an overlay was non-obviously dependent on, the safest thing to do is make a copy of the image and keep it alongside the overlay. When using the overlay later, automatically use that image. Also do the same thing with the U-Boot rom. This should also make moving the overlay file to another machine much easier. Signed-off-by: Patrick Vacek --- scripts/run-qemu-ota | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run-qemu-ota') diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota index de63297..e9f44d6 100755 --- a/scripts/run-qemu-ota +++ b/scripts/run-qemu-ota @@ -53,7 +53,7 @@ def main(): cmdline = qemu_command.command_line() if args.overlay and not exists(args.overlay): - print("Image file %s does not yet exist, creating." % args.overlay) + print("Overlay file %s does not yet exist, creating." % args.overlay) img_cmdline = qemu_command.img_command_line() if args.dry_run: print(" ".join(img_cmdline)) -- cgit v1.2.3-54-g00ecf