]> code.ossystems Code Review - openembedded-core.git/commit
ltp: Add "udevadm trigger" before swap verification in mkswap01.sh
authorYongxin Liu <yongxin.liu@windriver.com>
Wed, 13 Nov 2019 06:48:55 +0000 (14:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Nov 2019 12:58:54 +0000 (12:58 +0000)
commit9d0bfa64d491c9bbef38c1530dc56386add12485
tree238231ea1d8d07a3a9d49ede2f34cf08c91deba7
parenta29bb560de072e669835e16d65ef50b72583a081
ltp: Add "udevadm trigger" before swap verification in mkswap01.sh

Swap verification sometimes fails due to race condition with udev.
This is a known issue: https://github.com/linux-test-project/ltp/issues/458.
"udevadm trigger" forces udev to sync up device events with kernel.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp/0001-mkswap01.sh-Add-udevadm-trigger-before-swap-verifica.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20190517.bb