diff options
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r-- | meta/classes/update-alternatives.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index aa01058cf9..a7f1a6fda6 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass | |||
@@ -143,7 +143,7 @@ python perform_packagecopy_append () { | |||
143 | if not alt_link: | 143 | if not alt_link: |
144 | alt_link = "%s/%s" % (d.getVar('bindir'), alt_name) | 144 | alt_link = "%s/%s" % (d.getVar('bindir'), alt_name) |
145 | d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link) | 145 | d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link) |
146 | if alt_link.startswith(os.path.join(d.getVar('sysconfdir', True), 'init.d')): | 146 | if alt_link.startswith(os.path.join(d.getVar('sysconfdir'), 'init.d')): |
147 | # Managing init scripts does not work (bug #10433), foremost | 147 | # Managing init scripts does not work (bug #10433), foremost |
148 | # because of a race with update-rc.d | 148 | # because of a race with update-rc.d |
149 | bb.fatal("Using update-alternatives for managing SysV init scripts is not supported") | 149 | bb.fatal("Using update-alternatives for managing SysV init scripts is not supported") |