]> code.ossystems Code Review - openembedded-core.git/commit
image: call systemctl preset-all for images
authorAlex Kiernan <alex.kiernan@hivehome.com>
Thu, 2 May 2019 21:09:44 +0000 (22:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2019 21:20:24 +0000 (22:20 +0100)
commita57678a076109c42fbdf7531e90ff4491b387d53
tree83243d7f089be5fdcda21bfb1d5cc4fcfa7d4d08
parent86f5a2383692ac1ab01dce534c1a5c5f32ec4b35
image: call systemctl preset-all for images

Rather than rely on systemd's default invocation of preset-all at
runtime, we pre-populate the symlink tree as part of of the image. This
is done late so any overrides of presets during rootfs construction
should already have happened.

Whilst we don't strictly need this for the read-write root case, it
avoids boot time churn; for read-only root we have to do it here.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass