[lug] kickstart and group files
chutchin at geekboi.org
chutchin at geekboi.org
Wed Mar 26 10:39:07 MDT 2008
On Wed, 2008-03-26 at 09:28 -0600, Jeffrey Haemer wrote:
>I'm trying to add stuff to my RPM repository for an F8 kickstart, and I am
>thrashing. I've read and Googled, and tried lots of experiments, but I'm
>failing.
>
>Here's my current sticking point:
>
>I've added a new group to the comps file (Fedora-8-comps.xml), called
>aztek-additional and used createrepo -g to rebuild the metadata. That works.
>
>If I change the name to "aztek-apps", and then rebuild the metadata again, the
>kickstart chokes, saying that the group file is bad. Change it back and
>rebuild the metadata? It's fine again. It's clearly seeing my change.
>
>The name's cached somewhere, but I can't find it.
>
>I've tried blowing away the metadata (Packages/repodata) and starting from
>scratch. I've tried "aztek-5ki" instead of "aztek-apps." Same failure.
>
>Mind you, this is even when I don't *use* the package in the kickstart.cfg file
>-- it's choking before that.
>
>"Use dpkg or another distro" isn't an option.
>
>"Use 'aztek-additional' " is an option, but there's other stuff that's not
>working. I suspect they all boil down to my not understanding where
>kickstart's looking for all its group and package info. This is the simplest
>example I have, and I think if I can solve it, there's an "Aha!" in the wings.
>[ Perhaps >an "Aha! I'm being an idiot!" but still an "Aha!" :-) ]
>
>Any kickstart users out there with constructive advice?
Can you build the metadata afterwards in a post-install script? At least with
RHEL 3 and 4 the kickstart you can add a %post section to your kickstart file.
In this section you can point to scripts on an NFS share and then would not
need any changes to your install media.
Charlie
More information about the LUG
mailing list