[lkml]   [2007]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: can support for "rpm"-based package building just be dropped?

On Nov 26 2007 10:53, Robert P. J. Day wrote:
>>>Only on current machines. You'd break building kernel RPMs on older
>>>systems that don't have rpmbuild installed.
>> Those old machines probably do not even run a distro-fabricated gcc that
>> would compile a git head kernel.
>well, in a nutshell, the problem scenario is that it's entirely
>possible to have a modern distro (say, fedora 8, like i'm using) on
>which you have the latest "rpm" package installed, but not "rpmbuild".

What, modern and no rpmbuild?

AFAIR, it had rpmbuild back to at least FC6, it's not that new this rpmbuild.

>at which point scripts/package/Makefile, based on this:
>RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
> else echo rpm; fi)
>will select "rpm" as the value of the variable RPM, at which point
>things go south in a hurry as soon as you try to build an rpm package
>using $(RPM) aka "rpm".
>perhaps a solution would be to have two variables -- RPM and RPMBUILD
>-- and set them appropriately based on what the Makefile finds. and,
>of course, whine incessantly if you have an unworkable setup.
>anyway, have at it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-11-26 17:09    [W:0.049 / U:6.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site