aboutsummaryrefslogtreecommitdiff
path: root/rpb-openembedded
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2020-01-14 18:25:07 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2020-01-14 18:25:30 +0300
commita2a310c19c9c4c645b1ff7ae810c872d571bcb0d (patch)
tree231725d25e52c263b3f3b58fa49c001ed9cb4a7a /rpb-openembedded
parentd16cec6a03c2a96d74871fb7033e29241ae7a94f (diff)
rpb-oe: lava: syncquacer: add dual boot and fix prompt
fix root prompt and add dual boot needed by selinux relabeling. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Change-Id: I0f9ec13c67b337d8fd9c9715beb04a4ab4ef38fe
Diffstat (limited to 'rpb-openembedded')
-rw-r--r--rpb-openembedded/lava-job-definitions/synquacer/template-boot.yaml23
1 files changed, 22 insertions, 1 deletions
diff --git a/rpb-openembedded/lava-job-definitions/synquacer/template-boot.yaml b/rpb-openembedded/lava-job-definitions/synquacer/template-boot.yaml
index 1dbc392d..a35596f7 100644
--- a/rpb-openembedded/lava-job-definitions/synquacer/template-boot.yaml
+++ b/rpb-openembedded/lava-job-definitions/synquacer/template-boot.yaml
@@ -41,8 +41,29 @@ actions:
- 'linux (tftp,{SERVER_IP})/{KERNEL} root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard,intr,vers=3 ip=dhcp'
- clear
- boot
+ expect_shell: false
+ boot_finished:
+ - 'reboot: Restarting system'
+ - 'reboot: System halted'
+ - Requesting system halt
+- boot:
+ role:
+ - developerbox
+ timeout:
+ minutes: 90
+ method: grub
+ parameters:
+ shutdown-message: 'reboot: Restarting system'
+ commands:
+ - insmod efinet
+ - net_ls_addr
+ - linux (tftp,{SERVER_IP})/{KERNEL} root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard,intr,vers=3
+ ip=dhcp
+ - clear
+ - boot
prompts:
- - 'root@(.*)'
+ - root@(.*)
+ - '~ #'
metadata:
machine: ${MACHINE}