<div class="gmail_quote">On Tue, Mar 3, 2009 at 4:41 PM,  <span dir="ltr">&lt;<a href="mailto:rpm@squoggle.com">rpm@squoggle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m working on an rpm that creates a Linux repository on a server.  I&#39;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.<br>

<br>
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 &amp; 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.<br>

<br>
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&#39;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&#39;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.<br>

<br>
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.  </blockquote><div><br>I am pretty sure that you have an  kickstart package ordering problem. This fire the bug with the deps do by anaconda in installation. <br>
<br>Are sure do you have something like this in the beginning of your kickstart ?<br><br>%packages<br>@core<br><br><br> <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</blockquote></div><br>