summaryrefslogtreecommitdiffstats
path: root/templates/boot
AgeCommit message (Collapse)AuthorFilesLines
2017-12-04Relax the prompts by dropping the usernameJan-Simon Möller1-0/+1
This change relaxes the login match a little bit by removing the username. This will assist cases where we see not-recognized logins as well as tests with different usernames (non-root). Change-Id: Ied0ee9930f7804eb9883649495306e16964a75e6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-09New boot type definitionLoys Ollivier1-6/+7
Depending on the boot type (ramdisk or nbd), specify a boot method. This change helps defining the correct boot type automatically from the boot protocol (ramdisk or nbd). Tested with m3ulcb (nbd) and raspberrypi3 (ramdisk). Change-Id: I84845c2fa94b32cd53c91a5330b25505e7b60930 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-06Revert "Move boot type to kernel type"Kevin Hilman1-1/+1
This reverts commit 364641197bfe95512555abc36b7b62ac48166aaf. Unfortunately, NBD jobs do not work with the new kernel type, so we can't remove the old boot type (at least until NBD is fixed.) Change-Id: If9a64135ef75771a90655fdc4c6429d9b494fcf0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-06Move boot type to kernel typeLoys Ollivier1-1/+1
Boot type is deprecated in lava v2. Replaced by kernel_type and define it from the kernel image name. Change-Id: I6bcb326b5fb8b0230a9d519485741209bfab8ef2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-06New arguments to specify build artifacts namesLoys Ollivier1-5/+4
Added new command line arguments to specifiy build artifacts names: - "--rootfs-img": for the rootfs file name - "--kernel-img": for the kernel name - "--dtb-img": for the dtb file name - "--modules-img": for the modules file name Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-05templates/boot: include basic root promptKevin Hilman1-1/+4
When testing with basic ramdisk support, we need to be able to detect a simple root prompt. Change-Id: I73302e2b7bed1d6e499fbdf3918ad3ed8dfdd03a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-20Merge "rootfs_type: remove nfs"Kevin Hilman1-5/+1
2017-09-19rootfs_type: remove nfsJerome Brunet1-5/+1
NFS is untested and not used at the moment. Remove it for now to avoid unnecessary issues Change-Id: Ide7f0663f3c31cde14dcda3c6e6694e22165bf49 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-11templates: QEMU: use transfer_overlayKevin Hilman1-0/+3
Without transfer_overlay, LAVA will use libguestfs to insert the overlay into the rootfs. This will cause problems with rootfs that have security enabled, so use transfer_overlay to load the overlay after the rootfs has been booted. Tested with QEMU devices in lab-baylibre. Change-Id: Ib27e5e862c64e8b302fa486f113fed4fdc6f5e83 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman4-0/+91
Change-Id: I5d545d3531f4c4190453724738076bd4eddfc4d6 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>