diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-13 15:58:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-18 11:07:57 +0100 |
commit | 0de9ceeafc86726a20d1982642b6446935919c7c (patch) | |
tree | 25ad623867ec0e5ffb2f1c4a93fe84bdf67f11d1 /meta/recipes-devtools/dnf | |
parent | a77b860335ff5f990b6e4aa3901465d5088da576 (diff) | |
download | poky-0de9ceeafc86726a20d1982642b6446935919c7c.tar.gz |
dnf: default to disable systemd units
The services and timers are not useful if a repo is not configured.
In OE, we default to have no repo configured. So we default to disable
these units.
The problem was found by the test_systemd_failed runtime test case.
dnf-makecache.service is found to fail. This is due to lack of repo.
Note that as this service is started by the dnf-makecache.timer, it's
possible that test_systemd_failed passes in case the timer is not started
yet.
(From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dnf')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_2.7.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_2.7.5.bb b/meta/recipes-devtools/dnf/dnf_2.7.5.bb index b88ddb445a..df60d731b6 100644 --- a/meta/recipes-devtools/dnf/dnf_2.7.5.bb +++ b/meta/recipes-devtools/dnf/dnf_2.7.5.bb | |||
@@ -72,3 +72,4 @@ SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ | |||
72 | dnf-automatic-install.service dnf-automatic-install.timer \ | 72 | dnf-automatic-install.service dnf-automatic-install.timer \ |
73 | dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \ | 73 | dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \ |
74 | " | 74 | " |
75 | SYSTEMD_AUTO_ENABLE ?= "disable" | ||