]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jun 2019 21:47:43 +0000 (22:47 +0100)
commitf7becf0b5743dfbee06b354a086dc553db2b1348
tree388d43c951c4626b88edce344804ce18827e1049
parent2a6d75242579655d9e73491b147aad8533d1bcbd
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>
meta/recipes-core/util-linux/util-linux.inc
meta/recipes-core/util-linux/util-linux/run-ptest