rpm behavior at install

devzero2000 pinto.elia at gmail.com
Tue Mar 3 16:51:39 UTC 2009


On Tue, Mar 3, 2009 at 4:41 PM, <rpm at squoggle.com> wrote:

> I'm working on an rpm that creates a Linux repository on a server.  I'm
> calling it repo-1.0.0-1.i386.rpm.  Basically I want to take all the rpms
> from the distro DVD and install them in the web root, run createrepo on them
> and a few other minor things and be happy.
>
> Normally when building an rpm I would take all the files I need and package
> them into the rpm and let rpm install them.  Doing that with this rpm makes
> the rpm huge between 2 & 3 Gig although it does seem to work.  This rpm also
> needs to be added to a custom distribution DVD so adding this rpm to the
> custom DVD iso basically doubles it in size.
>
> It seems more logical that since I already have the DVD media handy to make
> an rpm with a post script that takes the rpms off the DVD and puts them in
> the right spot, does the few minor tweaks and I'm good to go.  This makes
> for a very nice very small rpm.  It works fine when testing the rpm on a
> test bed.  The script behaves predictably and mounts the DVD, grabs the
> files and puts them in the correct locations.  It's another story entirely
> when the rpm is included in the system kickstart and installed when the
> server is first created.  None of the post script actually functions.
>
> In fact any minor command that I run as part of a post script in an rpm
> that is installed when the system is being built seems to fail.


I am pretty sure that you have an  kickstart package ordering problem. This
fire the bug with the deps do by anaconda in installation.

Are sure do you have something like this in the beginning of your kickstart
?

%packages
@core





>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090303/5171ef6b/attachment-0001.htm>


More information about the Rpm-list mailing list