I don't see how I would drop thw -1 from Release. The kernel make process and specifically the mkspec script (which generated kernel.spec) add the release number this is not something the user can control as best as I can tell. I'm not an rpm expert but the kernel rpm doesn't appear to use the release number in the install path directory name.
<br><br><div><span class="gmail_quote">On 5/12/06, <b class="gmail_sendername">Jasper O'neal Hartline</b> &lt;<a href="mailto:jasperhartline@adelphia.net">jasperhartline@adelphia.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Xavier Toth wrote:<br><br>&gt; When kadischi get to the point of running initrd the following happens:<br>&gt; making initrd image<br>&gt; /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21-1<br>&gt; is not a directory.
<br>&gt;<br>&gt;&nbsp;&nbsp; ***&nbsp;&nbsp;Fatal error: /usr/local/share/kadischi/livecd-mkinitrd.sh<br>&gt; returned non zero (256) exit code. Aborting execution.<br>&gt;<br>&gt; There is a<br>&gt; /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21
<br>&gt; directory. I see that there is a disconnect related to the release<br>&gt; number (-1) between the kernel rpm build and kadischi but it's unclear<br>&gt; where to fix this in the kernel build or kadischi.<br><br>
<br>Have a look in lib/functions.py at get_kernel_version() about kernel<br>versioning.<br>Kadischi uses rpm.ts Python functions from RPM.<br>There shouldn't be a discrepancy like that.<br><br>I would look at dropping the -1 from Release: 1 in any case.
<br>J. Hartline<br><br><br>--<br>Fedora-livecd-list mailing list<br><a href="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">
https://www.redhat.com/mailman/listinfo/fedora-livecd-list</a><br></blockquote></div><br>