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-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 22780412 2009-09-10 21:44 kernel-debug-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 303679613 2009-09-10 21:55 kernel-debug-debuginfo-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 6511822 2009-09-10 21:44 kernel-debug-devel-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 303672532 2009-09-10 21:44 kernel-debuginfo-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 37650771 2009-09-10 21:33 kernel-debuginfo-common-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 6496132 2009-09-10 21:33 kernel-devel-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 504703 2009-09-10 21:32 kernel-firmware-2.6.29.4-167.hpfs.fc11.x86_64.rpm
-rw-r--r--. 1 kaza kaza 864729 2009-09-10 21:32 kernel-headers-2.6.29.4-167.hpfs.fc11.x86_64.rpm
But again an attempt to install the kernel rpm resulted in the same failed
dependency:
<localhost>.../SPECS>rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-2.6.29.4-167.hpfs.fc11.x86_64.rpm
error: Failed dependencies:
kernel-firmware >= 2.6.29.4-167.hpfs.fc11 is needed by kernel-2.6.29.4-167.hpfs.fc11.x86_64
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
~/rpmbuild/RPMS/x86_64
or against the installed rpms? The output of
rpm -qa | grep kernel-firmware
is:
kernel-firmware-2.6.29.4-167.fc11.noarch
Thanks in advance for any help,
kaza.
|
Recent comments
21 hours 33 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 23 hours ago
1 day 23 hours ago
2 days 4 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 12 hours ago