diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_243.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb index e874a451c4..6e7f95693b 100644 --- a/meta/recipes-core/systemd/systemd_243.bb +++ b/meta/recipes-core/systemd/systemd_243.bb | |||
@@ -295,13 +295,10 @@ do_install() { | |||
295 | # install default policy for presets | 295 | # install default policy for presets |
296 | # https://www.freedesktop.org/wiki/Software/systemd/Preset/#howto | 296 | # https://www.freedesktop.org/wiki/Software/systemd/Preset/#howto |
297 | install -Dm 0644 ${WORKDIR}/99-default.preset ${D}${systemd_unitdir}/system-preset/99-default.preset | 297 | install -Dm 0644 ${WORKDIR}/99-default.preset ${D}${systemd_unitdir}/system-preset/99-default.preset |
298 | } | ||
299 | 298 | ||
300 | do_install_append () { | 299 | # We use package postinsts for the hwdb update, as the update service is |
301 | # Mips qemu is extremely slow, allow more time for the hwdb update | 300 | # easily triggered for no reason and will slow down boots. |
302 | # This is a workaround until https://github.com/systemd/systemd/issues/13581 is resolved | 301 | find ${D} -name systemd-hwdb-update.service -delete |
303 | [ ! -e ${D}${systemd_unitdir}/system/systemd-hwdb-update.service ] || | ||
304 | sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service | ||
305 | } | 302 | } |
306 | 303 | ||
307 | python populate_packages_prepend (){ | 304 | python populate_packages_prepend (){ |