[oe-commits] [openembedded-core] 03/04: systemd: Handle slow to boot mips hwdb update timeouts

git at git.openembedded.org git at git.openembedded.org
Wed Sep 18 11:10:00 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 84441d64de6a7ba816c60f0444f263b6f6c1880b
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Sep 17 21:11:10 2019 +0100

    systemd: Handle slow to boot mips hwdb update timeouts
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/systemd/systemd_243.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb
index 3ae1516..a24bbdd 100644
--- a/meta/recipes-core/systemd/systemd_243.bb
+++ b/meta/recipes-core/systemd/systemd_243.bb
@@ -298,6 +298,10 @@ do_install() {
 	install -Dm 0644 ${WORKDIR}/99-default.preset ${D}${systemd_unitdir}/system-preset/99-default.preset
 }
 
+do_install_append_qemumips () {
+       # Mips qemu is extremely slow, allow more time for the hwdb update
+       sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service
+}
 
 python populate_packages_prepend (){
     systemdlibdir = d.getVar("rootlibdir")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list