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> <<a href="mailto:jasperhartline@adelphia.net">jasperhartline@adelphia.net</a>> 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>> When kadischi get to the point of running initrd the following happens:<br>> making initrd image<br>> /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21-1<br>> is not a directory.
<br>><br>>   ***  Fatal error: /usr/local/share/kadischi/livecd-mkinitrd.sh<br>> returned non zero (256) exit code. Aborting execution.<br>><br>> There is a<br>> /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21
<br>> directory. I see that there is a disconnect related to the release<br>> number (-1) between the kernel rpm build and kadischi but it's unclear<br>> 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>