On Thu, Aug 31, 2017 at 9:23 AM, Carlos Alberto Lopez Perez
<clo...@igalia.com> wrote:
> When systemd is used, it will invoke a service on first boot that triggers
> a rebuild of ldconfig caches (rebuild dynamic linker cache).
>
> This is fine on the first boot of a system that has been installed, but it
> makes no sense on a live system. The worst part is that rebuilding this
> caches is slow and it causes the live system to take longer to boot.
> (I measured this in 30 seconds longer on a standard PC system booting
> core-image-sato live from an USB memory).
>
> Disable this by touching /etc/.updated and /var/.updated on the live 
> initramfs.
>
> For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1201725 and
> https://www.freedesktop.org/software/systemd/man/systemd-update-done.service.html
>
> Signed-off-by: Carlos Alberto Lopez Perez <clo...@igalia.com>

This should be done to the live boot module of initramfs-framework as well.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to