diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-08-29 16:22:25 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-08-30 10:42:12 +0200 |
commit | f0bb19138107f35c3c8bbc30ea01003bc028ff7e (patch) | |
tree | 25a3023a58d3e91e42d2a06c7aa8e35da66f4f0b /meta-systemd/recipes-core | |
parent | f9f3477f68fe980e72d77d5095a74acf182938d6 (diff) | |
download | meta-openembedded-f0bb19138107f35c3c8bbc30ea01003bc028ff7e.tar.gz |
meta-systemd: systemd-systemctl-native: Also add support for WantedBy=*.service
Right now there was only WantedBy=*.target, which prevented some services from beeing installed,
which prevent them from running at boot.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd/recipes-core')
-rw-r--r-- | meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb | 2 | ||||
-rwxr-xr-x | meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb b/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb index 25ddbdade..59405842e 100644 --- a/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb +++ b/meta-systemd/recipes-core/systemd/systemd-systemctl-native.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Wrapper to enable of systemd services" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
5 | 5 | ||
6 | PR = "r5" | 6 | PR = "r6" |
7 | 7 | ||
8 | inherit native | 8 | inherit native |
9 | 9 | ||
diff --git a/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl b/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl index 5c21e7f2e..d71c7eda8 100755 --- a/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl +++ b/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl | |||
@@ -81,7 +81,7 @@ for service in $services; do | |||
81 | wanted_by=$(grep WantedBy $ROOT/$service_file \ | 81 | wanted_by=$(grep WantedBy $ROOT/$service_file \ |
82 | | sed 's,WantedBy=,,g' \ | 82 | | sed 's,WantedBy=,,g' \ |
83 | | tr ',' '\n' \ | 83 | | tr ',' '\n' \ |
84 | | grep '\.target$') | 84 | | grep '\(\.target$\)\|\(\.service$\)') |
85 | 85 | ||
86 | for r in $wanted_by; do | 86 | for r in $wanted_by; do |
87 | echo "WantedBy=$r found in $service" | 87 | echo "WantedBy=$r found in $service" |