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-18 11:52:02 +0100 |
commit | d830676fb2fb2bd98e5f42afddf94f6606bdaa57 (patch) | |
tree | 9f30c1888fe5a624d34447e8cad22d09920f65cb | |
parent | 0ecdc025a99a630c16b352d88281de365853b1b3 (diff) | |
download | poky-d830676fb2fb2bd98e5f42afddf94f6606bdaa57.tar.gz |
systemd: Handle slow to boot mips hwdb update timeouts
(From OE-Core rev: 1e4ea527b5bc6ce46903adf24c4dbd59b114653b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd_243.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb index 3ae1516dfb..a24bbddeb0 100644 --- a/meta/recipes-core/systemd/systemd_243.bb +++ b/meta/recipes-core/systemd/systemd_243.bb | |||
@@ -298,6 +298,10 @@ 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_qemumips () { | ||
302 | # Mips qemu is extremely slow, allow more time for the hwdb update | ||
303 | sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service | ||
304 | } | ||
301 | 305 | ||
302 | python populate_packages_prepend (){ | 306 | python populate_packages_prepend (){ |
303 | systemdlibdir = d.getVar("rootlibdir") | 307 | systemdlibdir = d.getVar("rootlibdir") |