Lines Matching refs:alternatives
1 # This class is used to help the alternatives system which is useful when
2 # multiple sources provide the same command. You can use update-alternatives
8 # List all of the alternatives needed by a package:
38 # This is useful when a recipe provides multiple alternatives for the
50 # The default priority for any alternatives
68 PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native"
89 if not 'virtual/update-alternatives' in d.getVar('PROVIDES'):
90 d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
112 # extend the depends to include virtual/update-alternatives
152 …no longer supported, please convert to the updated syntax, see update-alternatives.bbclass for mor…
154 # Do actual update alternatives processing
167 … bb.fatal("Using update-alternatives for managing SysV init scripts is not supported")
221 Returns the update-alternatives metadata for a package.
268 # Do actual update alternatives processing
275 …alt_setup_links += '\tupdate-alternatives --install %s %s %s %s\n' % (alt_link, alt_name, alt_tar…
276 alt_remove_links += '\tupdate-alternatives --remove %s %s\n' % (alt_name, alt_target)
280 provider = d.getVar('VIRTUAL-RUNTIME_update-alternatives')
282 #bb.note('adding runtime requirement for update-alternatives for %s' % pkg)
285 bb.note('adding update-alternatives calls to postinst/prerm for %s' % pkg)