Re: spin kickstart/minimization cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 21 Apr 2010, Bill Nottingham wrote:

> Peter Robinson (pbrobinson@xxxxxxxxx) said:
>>> Not sure you can make it seamless without just copy&pasting the
>>> entire group (which is a bad idea). <grouplist> within <group>
>>> is ignored in comps.
>>
>> Ah, I just copied the xfce-software-development as it was small and
>> had what I wanted. What's the proper way to do this then? Looking
>> further down the file the Desktops category looks like it would be
>> what I want.
>
> Categories aren't a yum-able object; they're used by anaconda only.

Like I said before - categories can be used by any yum api-caller.

but they aren't available to anything using yum from the cli.

import yum
my = yum.YumBase()
my.setCacheDir()
c = my.comps.categories[0]
print c
Desktop Environments
print c.groups
['gnome-desktop', 'sugar-desktop', 'window-managers', 'kde-desktop', 
'lxde-desktop', 'moblin-desktop', 'xfce-desktop']


-sv

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux