summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorCarlos Alberto Lopez Perez <clopez@igalia.com>2017-08-31 14:23:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-01 23:59:55 +0100
commitd73493e63c506dca0e767ff183ca36bc48c2f03e (patch)
tree664482116c0a81df2b8961c69971f0ca60499a97 /meta/classes
parent404cdecec24bc2ed4e2cacc76cd50db7622171cd (diff)
downloadopenembedded-core-contrib-d73493e63c506dca0e767ff183ca36bc48c2f03e.tar.gz
initramfs-live-boot: disable systemd-update-done.service on live images
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> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions