[oe-commits] [openembedded-core] 15/60: dnf: default to disable systemd units

git at git.openembedded.org git at git.openembedded.org
Mon Jun 18 10:11:15 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c017f5528d1ae6316c9434ffd8702665bfe069f9
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Wed Jun 13 15:58:25 2018 +0800

    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.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/dnf/dnf_2.7.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/dnf/dnf_2.7.5.bb b/meta/recipes-devtools/dnf/dnf_2.7.5.bb
index b88ddb4..df60d73 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 \
                          dnf-automatic-install.service dnf-automatic-install.timer \
                          dnf-automatic-notifyonly.service dnf-automatic-notifyonly.timer \
 "
+SYSTEMD_AUTO_ENABLE ?= "disable"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list