CapabilityDependencies Section
Use the CapabilityDependencies section in a component definition file to associate capabilities with other capabilities on which they depend or with which they conflict.
Under the CapabilityDependencies section, type the section syntax as follows:
Section syntax
Capability number, dependent capability number, dependency type
Capability number | Use the capability numbers as you defined them in the Capabilities section. |
dependent capability number | Use the capability numbers as you defined them in the Capabilities section. |
dependency type | Y or blank = Capability requires the presence of the dependent capability (default)
N = Capability conflicts with the dependent capability and is mutually exclusive
|
Syntax example
Capability dependencies example | In this example, the Mouse capability is dependent on the Core OS:
[Capabilities] 1 = Mouse 2 = ''Core OS'' [CapabilityDependencies] 1,2 |
Capability conflicts example | In this example, the configuration allows only one keyboard driver and one keyboard layout.
[Capabilities] 1 = Keyboard drivers 2 = Keyboard layout 3 = Keyboard input locale [CapabilityDependencies] 1, 1, N 2, 2, N |
Last updated on Friday, April 02, 2004