PDA

View Full Version : fc12 rc2 livecd unresolved package dependency on kernel-firmware


steverino2
9th July 2009, 08:04 PM
Hello there, I'm new to this forum and attempting a custom kernel livecd build of FC12
my base platform is 2.6.29.4-167.fc11.i586 #1 SMP

first I downloaded the latest kernel build
yumdowloader --source kernel --enablerepo=rawhide

and got this:

kernel-2.6.31-0.42.rc2.fc12.src.rpm

Next I completed a custom kernel build using kernel-2.6.31-0.42.rc2.fc12.src.rpm
and now I am attempting to make the livecd,
but there is an unresolved package dependency on kernel-firmware

(/usr/share/spin-kickstarts/fedora-livecd-desktop.ks kernel line is "kernel-PAE")

#!/bin/bash
livecd-creator \
-d \
-v \
--logfile=/tmp/livecd.log \
--config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks \
--fslabel=myfc12 --cache=/var/cache/live

kernel-PAE-2.6.31-0.42.rc2.local.fc11.i686 from testbuilds has depsolving problems
--> Missing Dependency: kernel-firmware >= 2.6.31-0.42.rc2.local.fc11 is needed by package kernel-PAE-2.6.31-0.42.rc2.local.fc11.i686 (testbuilds)

Any ideas on this? I suppose it must be the firmware
(a) exists in rawhide, or
(b) must be built locally.

If its (b) then I'm not sure how to build firmware locally...

Thanks!
/steverino2

SlowJet
9th July 2009, 08:27 PM
You need to refer to the rawhide update repot on the fedora devl list
each day.
Then fine a local mirror and wait for all the updates to sync, (and all the other stuff also, as they will not release the packages until every arch and image are sync'd)
Then run your livecd-creator (against that mirorror).

Unually 10:00 pm til 05:00 am UT time is best (i.e. -4 hours EST)

You can determine the state of any mirror from
www.fedoraproject/org link "Get Fedora", scroll down to" see all mirrors", select version (rawhide), arch (i386) from the upper right list.
Scroll down to your mirror.

Currently, after today's rawhide updates, there will be many fixes worth getting and the kernel will be 54
You can't run rawhide blind, you must follow the activity and changes.

SJ.

leigh123linux
9th July 2009, 08:53 PM

Try building the firmware ;)


rpmbuild -bb --target=noarch kernel-2.6.31-0.42.rc2.fc12.src.rpm

steverino2
9th July 2009, 10:19 PM
maybe I'm overlooking something, but so far my usage of rpmbuild has been with a kernel.spec file
for example:

rpmbuild -bb --target=1uname -m` kernel.spec

but this command line errors out:

[root@localhost standalone-build]# rpmbuild -bb --target=noarch kernel-2.6.31-0.42.rc2.fc12.src.rpm
Building target platforms: noarch
Building for target noarch
error: File /home/steve/rpmbuild/standalone-build/kernel-2.6.31-0.42.rc2.fc12.src.rpm does not appear to be a specfile.
[root@localhost standalone-build]#

leigh123linux
9th July 2009, 10:31 PM
Sorry I meant


rpmbuild --rebuild --target=noarch kernel-2.6.31-0.42.rc2.fc12.src.rpm

or

rpmbuild -bb --target=noarch kernel.spec