diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2019-05-02 22:09:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-03 06:11:57 +0100 |
commit | 925e30cb104ece7bfa48b78144e758a46dc9ec3f (patch) | |
tree | 178a5aa62d5fbefb8f7821ed8a230285b4c95adb /meta/classes/image.bbclass | |
parent | bc2ca0ea7e917d1e6b31d905eca77550a2907610 (diff) | |
download | poky-925e30cb104ece7bfa48b78144e758a46dc9ec3f.tar.gz |
systemctl-native: Rewrite in Python supporting preset-all and mask
Rewrite systemctl-native in Python so that extending/testing it is
easier.
Now that the systemd class sets up service presets instead of actively
enabling services, the 'enable' and 'disable' subcommands for systemctl
are not actually used anywhere. As such, we can remove these to make
sure that nobody inadvertently introduces new uses of them.
This implementation covers `preset-all` and `mask` which are the only
options used in the current code, but should be readily extensible to
other commands.
We use `preset-all` at image construction time to populate the symlinks
used by systemd.
(From OE-Core rev: 86f5a2383692ac1ab01dce534c1a5c5f32ec4b35)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
0 files changed, 0 insertions, 0 deletions