Re: RPM hacking.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gene C. writes:

On Wednesday 17 March 2004 07:44, Matthias Saou wrote:
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

The current set of options which can be "short-circuit"'ed are fine. However, from a security perspective, I would be very bothered by an easy method of creating binary rpms which could not be rebuilt by the source rpm.

Again: nobody wants to distribute the binary RPMs.

This for hacking/debugging only.

Say that I'm trying to chase down a kernel bug. I have the kernel source rpm unpacked and compiled in BUILD.

I'd like to be able to play with the kernel source, make small changes, and be able to quickly build installable kernel RPMs for testing purposes, instead of waiting two fscking hours to rebuild the whole bloody mess from scratch all because of a one or a two-line change.

Attachment: pgpQ6nfbSKal8.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux