Kickstart upgrade package management

Joel Schuweiler Joel.Schuweiler at schmoozecom.com
Wed Aug 5 14:20:06 UTC 2009


I got around this by modifying /.dicinfo in the iso image. There may be a more proper way to do this?



-----Original Message-----
From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Moray Henderson (ICT)
Sent: Wednesday, August 05, 2009 7:32 AM
To: Discussion list about Kickstart
Subject: RE: Kickstart upgrade package management

>From: Hardik Modi [mailto:hardik at statementofpurpose.com]
>Sent: 17 July 2009 13:11
>
>Hello All,
>
>I've been a satisfied user of kickstart for custom fresh installs for some
>time now. The machines I'm installing to are often not connected to the
>Internet and I'm looking at using the upgrade function to have my machines
>step up from CentOS 4.4 to 5.3.
>
>With a simple upgrade kickstart (only the essential lines), I'm able to
>run through an upgrade cycle. This takes care of most of the packages that
>I expect to see upgraded.
>
>The reason I'm writing to the list is there are a few packages that I'd
>rather the upgrader didn't touch and that I'd then fix up in the post-
>install. Is there a direct way of asserting this 'ignore package' command?
>The guides that I find online are quite clear that the %packages section
>is ignored in an upgrade kickstart.
>
>Thanks!
>Hardik.

Hello Hardik,

Did you get anywhere with this question?  I have just started working on a custom-CentOS-4.2 to custom-CentOS-5.3 kickstart upgrade.  My custom-CentOS-5.3 install only uses CD 1, but the upgrade asks for several others, so there are obviously a number of packages I need to remove somehow.  SELinux also seems to get confused, and starts blocking even more than it's supposed to.

Initial thought on stopping packages being upgraded is to remove them from the upgrade repository.  Building custom install images, if you run createrepo without those packages, you might be able to copy them back into the rpms directory before building your CD.  That should mean they are available manually in %post, but won't be picked up automatically.  Other than that, fiddling with the upgrade code in Anaconda might do it, but that sounds... complicated.


Moray.
"To err is human.  To purr, feline"



_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list