[Fedora-livecd-list] kernel 'make rpm', kadischi and kernel version disconnect

Jasper O'neal Hartline jasperhartline at adelphia.net
Fri May 12 17:39:06 UTC 2006


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





More information about the Fedora-livecd-list mailing list