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.

On 5/12/06, Jasper O'neal Hartline <jasperhartline@adelphia.net> wrote:
Xavier Toth wrote:

> When kadischi get to the point of running initrd the following happens:
> making initrd image
> /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21-1
> is not a directory.
>
>   ***  Fatal error: /usr/local/share/kadischi/livecd-mkinitrd.sh
> returned non zero (256) exit code. Aborting execution.
>
> There is a
> /tmp/livecd-build_no28/system/lib/modules/2.6.16_1.2185.2.1_FC6.lspp.21
> directory. I see that there is a disconnect related to the release
> number (-1) between the kernel rpm build and kadischi but it's unclear
> where to fix this in the kernel build or kadischi.


Have a look in lib/functions.py at get_kernel_version() about kernel
versioning.
Kadischi uses rpm.ts Python functions from RPM.
There shouldn't be a discrepancy like that.

I would look at dropping the -1 from Release: 1 in any case.
J. Hartline


--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list