diff options
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index 1076472779..4ffd430b3f 100644 --- a/meta/recipes-devtools/opkg/opkg.inc +++ b/meta/recipes-devtools/opkg/opkg.inc | |||
@@ -18,7 +18,7 @@ do_configure_prepend() { | |||
18 | inherit autotools pkgconfig systemd | 18 | inherit autotools pkgconfig systemd |
19 | 19 | ||
20 | python () { | 20 | python () { |
21 | if 'sysvinit' not in d.getVar("DISTRO_FEATURES", True).split(): | 21 | if not oe.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): |
22 | pn = d.getVar('PN', True) | 22 | pn = d.getVar('PN', True) |
23 | d.setVar('SYSTEMD_SERVICE_%s' % (pn), 'opkg-configure.service') | 23 | d.setVar('SYSTEMD_SERVICE_%s' % (pn), 'opkg-configure.service') |
24 | } | 24 | } |