]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: Stop udevd to run ptests
authorMariano López <just.another.mariano@gmail.com>
Fri, 14 Jun 2019 03:32:40 +0000 (22:32 -0500)
committerArmin Kuster <akuster808@gmail.com>
Sat, 22 Jun 2019 17:04:24 +0000 (10:04 -0700)
commit3d62aaa8d06387053f98e4156dc8920e2e97feea
treeb815da1903ed961ef93c2eeb81dbf1c87adc3d87
parent712c78984c891e6357e1b1dc414431fb6c226c49
util-linux: Stop udevd to run ptests

The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.

This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.

[YOCTO #13301]

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/util-linux/util-linux.inc
meta/recipes-core/util-linux/util-linux/run-ptest