summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-20 18:24:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-21 12:52:53 +0000
commit023c71d65a5a1299e9f9b4d1f2bf724fb1690be3 (patch)
treeacae766f8fe7f833a24fbdb4d34636fac98c8fd9
parentef3fc752e6543abc2e55b4d69a65de65d146c925 (diff)
downloadpoky-contrib-023c71d65a5a1299e9f9b4d1f2bf724fb1690be3.tar.gz
poky-contrib-023c71d65a5a1299e9f9b4d1f2bf724fb1690be3.tar.bz2
poky-contrib-023c71d65a5a1299e9f9b4d1f2bf724fb1690be3.zip
parted: fix more ptests
Particularly parted is getting confused by udev's automounter mounting things in background. (From OE-Core rev: 23da99c731c55839f108f351c5c88de58d244cb8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/parted/files/run-ptest2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/files/run-ptest b/meta/recipes-extended/parted/files/run-ptest
index b57c29400a..f39c478ce6 100644
--- a/meta/recipes-extended/parted/files/run-ptest
+++ b/meta/recipes-extended/parted/files/run-ptest
@@ -1,3 +1,5 @@
#!/bin/sh
+echo /dev/sda1 >> /etc/udev/mount.blacklist.d/parted-tmp
make -C tests test-suite.log
+rm /etc/udev/mount.blacklist.d/parted-tmp