diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2019-06-18 15:01:56 +0200 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2019-06-19 04:44:04 +0000 |
commit | 0bf472f6fa5a382afee5a0ee65d8bd09e46dc44d (patch) | |
tree | a63c73023c3c6790669f9f4f2dc923da4296acca /openembedded-lkft | |
parent | 1701ddd567688584df7cde3c7fb744797e1db366 (diff) |
lkft: testplan: device: x15: don't mount local disk
If the kernel version is 4.4 don't mount local SSD disk since the kernel
doesn't support SSD devices.
Change-Id: I075bca335cbf4ff8d7f8d8b6cb0732a7c76f8eaa
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'openembedded-lkft')
-rw-r--r-- | openembedded-lkft/lava-job-definitions/devices/x15 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openembedded-lkft/lava-job-definitions/devices/x15 b/openembedded-lkft/lava-job-definitions/devices/x15 index a7d0012b..d7673b9f 100644 --- a/openembedded-lkft/lava-job-definitions/devices/x15 +++ b/openembedded-lkft/lava-job-definitions/devices/x15 @@ -48,11 +48,13 @@ description: "Mount local disk for tmp space" run: steps: +{% if KERNEL_VERSION != '4.4' %} - export STORAGE_DEV=$(lava-target-storage SATA || lava-target-storage USB) - test -n "${STORAGE_DEV}" || lava-test-raise "STORAGE_DEV not found; job exit" - echo "y" | mkfs -t ext4 ${STORAGE_DEV} || lava-test-raise "mkfs -t ext4 ${STORAGE_DEV} failed; job exit" - mkdir -p /scratch - mount ${STORAGE_DEV} /scratch && echo "mounted" || lava-test-raise "mount ${STORAGE_DEV} failed; job exit" +{% endif %} - df -h - mount name: prep-tmp-disk |