View Single Post
Old 15th September 2009, 23:18
kaza kaza is offline
Junior Member
Join Date: Jul 2009
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Somehow the architecture seems to be the cause

Hello again,

I continued experimenting, re-run the rpmbuild adding the "--with firmware"
switch and noticed that indeed the kernel-firmware rpm had been built.
Here's an "ls" of the directory where rpm-s had been created:

<localhost>.../SPECS>ls ~/rpmbuild/RPMS/x86_64/
total 688432
-rw-r--r--. 1 kaza kaza 22777358 2009-09-10 21:32 kernel-
-rw-r--r--. 1 kaza kaza 22780412 2009-09-10 21:44 kernel-debug-
-rw-r--r--. 1 kaza kaza 303679613 2009-09-10 21:55 kernel-debug-debuginfo-
-rw-r--r--. 1 kaza kaza 6511822 2009-09-10 21:44 kernel-debug-devel-
-rw-r--r--. 1 kaza kaza 303672532 2009-09-10 21:44 kernel-debuginfo-
-rw-r--r--. 1 kaza kaza 37650771 2009-09-10 21:33 kernel-debuginfo-common-
-rw-r--r--. 1 kaza kaza 6496132 2009-09-10 21:33 kernel-devel-
-rw-r--r--. 1 kaza kaza 504703 2009-09-10 21:32 kernel-firmware-
-rw-r--r--. 1 kaza kaza 864729 2009-09-10 21:32 kernel-headers-

But again an attempt to install the kernel rpm resulted in the same failed

<localhost>.../SPECS>rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-
error: Failed dependencies:
kernel-firmware >= is needed by kernel-

I noticed that the required kernel doesn't have "x86_64" in its name,
should I somehow change the kernel.spec so that it'll create
the kernel.firmware rpm without the "x86_64" architecture?
From some reading I understand that kernel-firmware rpm should
be architecture-less (am I correct?), does this means the rpm
of the kernel-firmware had been created incorrectly? If yes,
how to create a correct one?

Another question: when "rpm -ivh ..." checks dependencies, against what
it compares: against the rpm packages created in the
or against the installed rpms? The output of
rpm -qa | grep kernel-firmware

Thanks in advance for any help,
Reply With Quote
Sponsored Links