mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
systemd: Make it build with hwdb disabled
If hwdb is disabled, then systemd-hwdb-update.service does not exists. Do not try to modify it in this case. (From OE-Core rev: 9f9706d39713f967e10e3a41313ddacb03b0ca94) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
47c3142515
commit
4137f5978d
@@ -299,9 +299,10 @@ do_install() {
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
# Mips qemu is extremely slow, allow more time for the hwdb update
|
||||
# This is a workaround until https://github.com/systemd/systemd/issues/13581 is resolved
|
||||
sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service
|
||||
# Mips qemu is extremely slow, allow more time for the hwdb update
|
||||
# This is a workaround until https://github.com/systemd/systemd/issues/13581 is resolved
|
||||
[ ! -e ${D}${systemd_unitdir}/system/systemd-hwdb-update.service ] ||
|
||||
sed -i -e s#TimeoutSec=90s#TimeoutSec=180s# ${D}${systemd_unitdir}/system/systemd-hwdb-update.service
|
||||
}
|
||||
|
||||
python populate_packages_prepend (){
|
||||
|
||||
Reference in New Issue
Block a user