]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd-systemctl: Restore support for enable command
authorAlex Kiernan <alex.kiernan@gmail.com>
Wed, 8 May 2019 15:57:27 +0000 (16:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2019 15:31:06 +0000 (16:31 +0100)
commit9ef6f326ad323b2687440b81b0a983cb3d86a3ab
tree7cbbd38fad1c51195470f9efb65f52609c7a99d5
parentc5fb399f5894c16cf8eeadd507dc38c29b0fd657
systemd-systemctl: Restore support for enable command

Refactor so that SystemdUnit is its own class, then add support for the
enable command. This restores the ability of systemd.bbclass to create
instances using syntax such as:

  SYSTEMD_SERVICE_${PN} = "serial-getty@ttyAMA0.service"

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-systemctl/systemctl