Fix up whiteout/blacklist schema - add forgotten <whiteout><blacklist> elements, ignore ordering

This commit is contained in:
Will Woods 2008-07-22 18:49:45 +00:00
parent 59156ba236
commit c69b88aa52

View File

@ -22,8 +22,10 @@
<ref name="category"/> <ref name="category"/>
</zeroOrMore> </zeroOrMore>
<optional> <optional>
<interleave><!-- We don't care what order these are in -->
<ref name="whiteout"/> <ref name="whiteout"/>
<ref name="blacklist"/> <ref name="blacklist"/>
</interleave>
</optional> </optional>
</element> </element>
</define> </define>
@ -180,6 +182,7 @@
'hal.i386' causes anaconda to remove the (now-unneeded) hal.i386, 'hal.i386' causes anaconda to remove the (now-unneeded) hal.i386,
which gives us the desired outcome. which gives us the desired outcome.
</a:documentation> </a:documentation>
<element name="blacklist">
<zeroOrMore> <zeroOrMore>
<element name="package"> <element name="package">
<attribute name="name"> <attribute name="name">
@ -198,6 +201,7 @@
</optional> </optional>
</element> </element>
</zeroOrMore> </zeroOrMore>
</element>
</define> </define>
<define name="whiteout"> <define name="whiteout">
<a:documentation> <a:documentation>
@ -213,6 +217,7 @@
form 'package>requires', and the RPM macro '_dependency_whiteout' should be form 'package>requires', and the RPM macro '_dependency_whiteout' should be
filled with a (newline-separated) list of these items. filled with a (newline-separated) list of these items.
</a:documentation> </a:documentation>
<element name="whiteout">
<zeroOrMore> <zeroOrMore>
<element name="ignoredep"> <element name="ignoredep">
<attribute name="package"> <attribute name="package">
@ -223,6 +228,7 @@
</attribute> </attribute>
</element> </element>
</zeroOrMore> </zeroOrMore>
</element>
</define> </define>
<define name="boolean"> <define name="boolean">
<choice> <choice>