diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-17 21:11:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-19 15:27:02 +0100 |
commit | 2f5cc1a8fd30897560cae478838105f4c0dedc2b (patch) | |
tree | a71beef899d20088a87ad7696b51528aecd150c5 /meta/recipes-core/systemd/systemd_243.bb | |
parent | 88db9e41c1fe9678b3a9002457de28e3007b328a (diff) | |
download | poky-2f5cc1a8fd30897560cae478838105f4c0dedc2b.tar.gz |
systemd: Handle slow to boot mips hwdb update timeouts
This is a temporary workaround to avoid autobuilder failures until
https://github.com/systemd/systemd/issues/13581 is resolved.
Its being done globally even though its a mips problem for simplicity,
it doesn't hurt anything else to have a longer timeout.
(From OE-Core rev: 101d1ea3fe2d40ddde3139952545fa7128478f66)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_243.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_243.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb index 3ae1516dfb..f0e8c569b8 100644 --- a/meta/recipes-core/systemd/systemd_243.bb +++ b/meta/recipes-core/systemd/systemd_243.bb | |||
@@ -298,6 +298,11 @@ do_install() { | |||
298 | install -Dm 0644 ${WORKDIR}/99-default.preset ${D}${systemd_unitdir}/system-preset/99-default.preset | 298 | install -Dm 0644 ${WORKDIR}/99-default.preset ${D}${systemd_unitdir}/system-preset/99-default.preset |
299 | } | 299 | } |
300 | 300 | ||
301 | do_install_append () { | ||
302 | # Mips qemu is extremely slow, allow more time for the hwdb update | ||
303 | # This is a workaround until https://github.com/systemd/systemd/issues/13581 is resolved | ||
304 | sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service | ||
305 | } | ||
301 | 306 | ||
302 | python populate_packages_prepend (){ | 307 | python populate_packages_prepend (){ |
303 | systemdlibdir = d.getVar("rootlibdir") | 308 | systemdlibdir = d.getVar("rootlibdir") |