]> code.ossystems Code Review - openembedded-core.git/commitdiff
parted: fix more ptests
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 20 Jan 2020 17:24:59 +0000 (18:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2020 12:52:48 +0000 (12:52 +0000)
Particularly parted is getting confused by udev's automounter
mounting things in background.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/parted/files/run-ptest

index b57c29400abcb44e97f80e71fb1df56dbccbc93b..f39c478ce6ab917732555dc2d056e439d2b19e3e 100644 (file)
@@ -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