diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-09-06 16:42:37 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-09-11 15:48:06 +0200 |
commit | 81c124178e950cd756d8effb72c19505b7651727 (patch) | |
tree | 21f920c4ad5b98596b7ae6b3d60d7c7f24f84623 /scripts/run-qemu-ota | |
parent | 91194567bc621fcc1b95a421435b11c747b38d0f (diff) | |
download | meta-updater-81c124178e950cd756d8effb72c19505b7651727.tar.gz |
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 <patrickvacek@gmail.com>
Diffstat (limited to 'scripts/run-qemu-ota')
-rwxr-xr-x | scripts/run-qemu-ota | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
53 | 53 | ||
54 | cmdline = qemu_command.command_line() | 54 | cmdline = qemu_command.command_line() |
55 | if args.overlay and not exists(args.overlay): | 55 | if args.overlay and not exists(args.overlay): |
56 | print("Image file %s does not yet exist, creating." % args.overlay) | 56 | print("Overlay file %s does not yet exist, creating." % args.overlay) |
57 | img_cmdline = qemu_command.img_command_line() | 57 | img_cmdline = qemu_command.img_command_line() |
58 | if args.dry_run: | 58 | if args.dry_run: |
59 | print(" ".join(img_cmdline)) | 59 | print(" ".join(img_cmdline)) |