Bug 515626 - "rpmbuild -bb --with baseonly" fails to warn that "--with firmware" will be required
Summary: "rpmbuild -bb --with baseonly" fails to warn that "--with firmware" will be r...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-05 02:21 UTC by John Reiser
Modified: 2009-09-05 00:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-05 00:57:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Reiser 2009-08-05 02:21:33 UTC
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:

Comment 1 Chuck Ebbert 2009-08-05 05:29:00 UTC
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.

Comment 2 Chuck Ebbert 2009-09-05 00:57:07 UTC
Building using "--target noarch --without doc" should work now. It's the proper way to build the firmware and it's fast too.


Note You need to log in before you can comment on or make changes to this bug.