RPM hacking.

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Wed Mar 17 12:44:35 UTC 2004


Sam Varshavchik wrote :

> Mike A. Harris writes:
> 
> > On Tue, 16 Mar 2004, Sam Varshavchik wrote:
> > 
> >>I have a dim recollection of an undocumented option to rpm (now rpmbuild) 
> >>that's essentially equivalent to "-bb --short-circuit".  That is, it jumps 
> >>directly to binary RPM files creation; the installation buildroot is already 
> >>assumed to exist and populated according to whatever's in %files.
> >>
> >>Anyone remember what it is?
> > 
> > Unless this has changed since times past, there is no such 
> > option.  If I recall correctly, rpm very intentionally does not 
> > allow you to skip over all stages and jump directly to the file 
> > packaging stage which then writes out the final binary packages.
> 
> Yeah and all that.  This is a debugging/hacking option only.
> 
> I managed to drudge my memory cell and remember the undocumented -bs option, 
> which creates just the .src.rpm.  Now, I need to remember the rest of the 
> story___

Well, it's in both "--help" output and the rpmbuild man page, which is
pretty good exposure for an "undocumented option" ;-p

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 1 (Yarrow) - Linux kernel 2.6.3-2.1.242
Load : 0.22 0.24 0.24





More information about the fedora-devel-list mailing list