[OE-core] [PATCH] initramfs-live-boot: disable systemd-update-done.service on live images

Burton, Ross ross.burton at intel.com
Thu Aug 31 13:46:06 UTC 2017


On 31 August 2017 at 13:23, Carlos Alberto Lopez Perez <clopez at igalia.com>
wrote:

> +    # Don't run systemd-update-done on systemd-based live systems
> +    # because it triggers a slow rebuild of ldconfig caches.
> +    touch ${ROOT_MOUNT}/etc/.updated ${ROOT_MOUNT}/var/.updated
>

Good catch, there's a bug somewhere in bugzilla for a very similar problem.

Presumably/hopefully systemd isn't hardcoding /etc and /var but respecting
sysconfdir and localstatedir, so the touch should also use those variables
(by sedding the script).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170831/f10b3b02/attachment-0002.html>


More information about the Openembedded-core mailing list