[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] initramfs-live-boot: disable systemd-update-done.service on live images
From:       Carlos Alberto Lopez Perez <clopez () igalia ! com>
Date:       2017-08-31 18:00:53
Message-ID: d9f6a958-7cb4-c3e8-9d90-25a10204d685 () igalia ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


On 31/08/17 19:26, Otavio Salvador wrote:
> On Thu, Aug 31, 2017 at 9:23 AM, Carlos Alberto Lopez Perez
> <clopez@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 <clopez@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.


["signature.asc" (application/pgp-signature)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic