Skip to contentSkip to conversation

tests: qemu-amd64: Select rootfs via disk/by-path

PATCH New Jan Kiszka 1 participant 1 message Jul 19, 2021

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 tests: qemu-amd64: Select rootfs via disk/by-path

From: Jan Kiszka <[email protected]>

This should resolve sporadic test failures because Linux reordered sda and sdb.

---
 tests/jobs/xenomai-qemu-amd64.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/jobs/xenomai-qemu-amd64.yml +1 -1
index 29f5216..921c70b 100644
@@ -46,7 +46,7 @@ actions:
     to: tmpfs
     images:
       kernel:
-        image_arg: -kernel {kernel} -append "root=/dev/sdb console=ttyS0,115200 console=tty0"
+        image_arg: -kernel {kernel} -append "root=/dev/disk/by-path/pci-0000:00:1f.2-ata-6 console=ttyS0,115200 console=tty0"
         url: ${DEPLOY_URL}/${ISAR_IMAGE}-${ISAR_DISTRIBUTION}-${TARGET}-vmlinuz
       initrd:
         image_arg: -initrd {initrd}
Signature · 1 line
2.26.2