summaryrefslogtreecommitdiffstats
path: root/scripts/run-qemu-ota
Commit message (Collapse)AuthorAgeFilesLines
* build and run image without ostree support for qemux86-64Kostiantyn Bushko2020-01-201-0/+3
| | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
* run-qemu-ota: passing hostfwd as command line argumentKostiantyn Bushko2020-01-141-0/+6
| | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
* Add --bootloader flag to specify path to a custom u-boot rom.feat/custom-ubootPatrick Vacek2019-12-031-0/+1
| | | | | | | Also should work for other bootloaders. This is intended to help with keeping around older versions of images with a similarly old bootloader. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Print usage information after parameter checking.feat/better-overlaysPatrick Vacek2019-09-091-6/+6
| | | | | | No use printing all that if there's a problem anyway. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Prevent creating an overlay with any path but the current directory.Patrick Vacek2019-09-091-1/+11
| | | | | | | | | | Anything else will cause problems because of the hackery with keeping backup copies of the image and the u-boot rom. Also warn about supplying a different image name after the overlay has been created. That doesn't work and it will be ignored. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Copy the image and U-Boot rom when using overlays.Patrick Vacek2019-09-061-1/+1
| | | | | | | | | | | 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>
* Use 128M by default for qemu in oe-selftestsLaurent Bonnans2019-07-161-0/+1
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add a --secondary-network option to run-qemu-otaPhil Wise2018-03-191-0/+3
| | | | | This sets up a simulated 'in vehicle' network. Add support for a Primary node with a DHCP server and a secondary node with a DHCP client.
* Autodetect KVMPhil Wise2017-11-161-1/+5
| | | | | | | | | | | Autodetect KVM by using the 'kvm-ok' command line tool. This has two benefits: Firstly, it improves the UX of run-qemu-ota when working on machines without KVM (e.g. AWS). Previously, people had to use the --no-kvm option in these cases. Secondary, it makes oe-selftest usable on machines without KVM. Our tests call run-qemu-ota, and we want to able to run them on machines without KVM.
* Remove unused import, break long linesPhil Wise2017-11-161-2/+5
|
* Refactor QemuCommand class into its own file/module.Patrick Vacek2017-11-131-116/+2
|
* Fix race condition in run-qemu-otaAnton Gerasimov2017-11-081-1/+1
|
* Make it easier to build from branches and run a specific imagePhil Wise2017-09-131-3/+7
| | | | | | | | | | Is is now easy to build a specific branch by adding the following line to local.conf BRANCH_pn-aktualizr = "mybranchname" Also, the run-qemu-ota script can also take a path to an image file, which is useful for long-term test images.
* PRO-3923 Add persistence option to run-qemu scriptJon Oster2017-09-051-2/+25
|
* Copy run-qemu script over from meta-updater-qemux86-64Phil Wise2017-07-201-0/+150
Also remove old bash scripts for running inside qemu