Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: There should be an early warning that the result of a custom kernel build via rpmbuild -bb --target x86_64 --with baseonly kernel.spec will not be installable because the corresponding custom kernel-firmware package will be required. Because of no warning, then the first custom rpmbuild is a lost hour. Add "--with firmware" to the command line. Version-Release number of selected component (if applicable): kernel-2.6.29.6-217.2.3.fc11.src.rpm How reproducible: every time Steps to Reproduce: 1. rpm --install kernel-2.6.29.6-217.2.3.fc11.src.rpm 2. edit SPECS/kernel.spec for a custom build: "%define buildid .jfr" 3. rpmbuild -bb --target x86_64 --with baseonly kernel.spec 4. rpm --install RPMS/x86_64/kernel-2.6.29.6-217.2.3.jfr.fc11.x86_64.rpm Actual results: error: Failed dependencies: kernel-firmware >= 2.6.29.6-217.2.3.jfr.fc11 is needed by kernel-2.6.29.6-217.2.3.jfr.fc11.x86_64 Expected results: The beginning of step 3 (the rpmbuild) should warn that kernel-firmware will be required for an install; thus the user probably should add "--with firmware" to the commandline for rpmbuild. Additional info:
The official way to build the firmware is with "rpmbuild -bb --target noarch". You should be able to add "--without doc" to skip the documentation build, which takes forever. The "--with firmware" option in the arch build is just a hack that got thrown in to make the build go faster for developers.
Building using "--target noarch --without doc" should work now. It's the proper way to build the firmware and it's fast too.