On Wed, Apr 13, 2011 at 4:34 AM, James Heather <j.heather(a)surrey.ac.uk> wrote:
Is this expected behaviour? It seems weird to me.
Yes, that's the current implementation:
package patterns are resolved only when building Yum transaction,
selected are added first, then deselected are removed, see
imgcreate.ImageCreator.install()
while overrides work verbatim when pykickstart is parsing %packages
sections, from pykickstart.parser.Packages.add():
existingPackageSet = (existingPackageSet - newExcludedSet) |
newPackageSet
existingExcludedSet = (existingExcludedSet -
existingPackageSet) | newExcludedSet
After that, order information is lost and to fix this pykickstart
needs to be extended to provide original package list to livecd.
As a test you can try ksflatten on your kickstart, to see how is it
parsed and what livecd-creator is getting.
Alan