summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r--meta/classes/update-alternatives.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index 1362274d4d..f1250f877b 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -154,7 +154,7 @@ def apply_update_alternative_renames(d):
154 if not alt_link: 154 if not alt_link:
155 alt_link = "%s/%s" % (d.getVar('bindir'), alt_name) 155 alt_link = "%s/%s" % (d.getVar('bindir'), alt_name)
156 d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link) 156 d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link)
157 if alt_link.startswith(os.path.join(d.getVar('sysconfdir', True), 'init.d')): 157 if alt_link.startswith(os.path.join(d.getVar('sysconfdir'), 'init.d')):
158 # Managing init scripts does not work (bug #10433), foremost 158 # Managing init scripts does not work (bug #10433), foremost
159 # because of a race with update-rc.d 159 # because of a race with update-rc.d
160 bb.fatal("Using update-alternatives for managing SysV init scripts is not supported") 160 bb.fatal("Using update-alternatives for managing SysV init scripts is not supported")