LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   livecd fedora 12 custom kernel failed to find package (https://www.linuxquestions.org/questions/fedora-35/livecd-fedora-12-custom-kernel-failed-to-find-package-738795/)

linuxgrokmeistr 07-09-2009 12:17 AM

livecd fedora 12 custom kernel failed to find package
 
I'm attempting to build a LiveCD on a FC11 machine, using a custom
kernel built from kernel-2.6.31-0.42.rc2.fc12.src.rpm

Having completed the kernel build under ~/rpmbuild/RPMS/i686
for example
kernel-PAE-2.6.31-0.42.rc2.local.fc11.i686.rpm

I next prepare the LiveCD using the procedure by scmbg 10-31-2008
used createrepo, added repository info, etc.

next in
/usr/share/spin-kickstarts/fedora-live-base.ks

I added the path to a new repo, along with specifying the custom
kernel on the "kernel" line:


# fc11 test builds
repo --name=testbuilds --baseurl=file:///home/steve/rpmbuild/RPMS/i686

%packages
@base-x
@base
@core
@fonts
@input-methods
@admin-tools
@dial-up
@hardware-support
@printing
kernel-PAE-2.6.31-0.42.rc2.nano3.fc11.i686.rpm
#kernel
memtest86+


but for some reason I cant get livecd-creator to recognize the RPM
this is from livecd-creator --logfile output

Error creating Live CD : Failed to find package 'kernel-debuginfo-common-i686-2.6.31-0.42.rc2.nano3.fc11.i686.rpm' : No package(s) available to install

Does anyone share a working fedora-live-base.ks that
specifies a custom kernel ?

Is there a better way to do this???

Thanks!
/grokmeister


All times are GMT -5. The time now is 03:05 AM.