On 31/08/17 19:26, Otavio Salvador wrote:
> 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.
> 
> 

I'm not really familiar with the modules there.

What is the use case of doing this there as well?
live systems without an initramfs? is that possible?

Where should this exactly be done there?
I don't see the boot_live_root() equivalent.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to