diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2019-11-13 14:48:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-14 13:21:00 +0000 |
commit | bf12fa8a48b4aefdfb430467560bdc17e0fbad69 (patch) | |
tree | 4673bf578d6ed295dc130072ea585692d7c6a48f /meta/recipes-extended/ltp/ltp_20190517.bb | |
parent | 8195cff91100a2051c19df104f46c61c7b4f3b93 (diff) | |
download | poky-bf12fa8a48b4aefdfb430467560bdc17e0fbad69.tar.gz |
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.
(From OE-Core rev: 9d0bfa64d491c9bbef38c1530dc56386add12485)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20190517.bb')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20190517.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20190517.bb b/meta/recipes-extended/ltp/ltp_20190517.bb index 5915b1c72a..47aa9675d8 100644 --- a/meta/recipes-extended/ltp/ltp_20190517.bb +++ b/meta/recipes-extended/ltp/ltp_20190517.bb | |||
@@ -50,6 +50,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
50 | file://0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch \ | 50 | file://0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch \ |
51 | file://0001-cve-2017-17052-Avoid-unsafe-exits-in-threads.patch \ | 51 | file://0001-cve-2017-17052-Avoid-unsafe-exits-in-threads.patch \ |
52 | file://0001-overcommit_memory-update-for-mm-fix-false-positive-O.patch \ | 52 | file://0001-overcommit_memory-update-for-mm-fix-false-positive-O.patch \ |
53 | file://0001-mkswap01.sh-Add-udevadm-trigger-before-swap-verifica.patch \ | ||
53 | " | 54 | " |
54 | 55 | ||
55 | S = "${WORKDIR}/git" | 56 | S = "${WORKDIR}/git" |