summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-17 20:11:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-19 14:27:02 (GMT)
commit2f5cc1a8fd30897560cae478838105f4c0dedc2b (patch)
treea71beef899d20088a87ad7696b51528aecd150c5 /meta/recipes-core
parent88db9e41c1fe9678b3a9002457de28e3007b328a (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-core/systemd/systemd_243.bb5
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 3ae1516..f0e8c56 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
301do_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
302python populate_packages_prepend (){ 307python populate_packages_prepend (){
303 systemdlibdir = d.getVar("rootlibdir") 308 systemdlibdir = d.getVar("rootlibdir")