]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Execute first boot presets in an enable-only preset-mode.
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Fri, 15 May 2015 10:44:22 +0000 (11:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 May 2015 10:49:33 +0000 (12:49 +0200)
commit304b3079a2039971db6d89f4557931776b758e41
tree75b09022e91c461dd4312a1f2c9179a139f68346
parentfe0272999c8ef7961a446a7743f824ba4cfe0918
core: Execute first boot presets in an enable-only preset-mode.

This means any existing enabled units well be preserved and no
pre-created symlinks will be removed. This is done on first boot, when
the assumption is that /etc is not populated at all (no machine-id
setup). For minimal containers that gives a significant first boot
speed up, approximately ~20ms / ~16% in my trials.
TODO
src/core/main.c