Re: [PATCH resend 0/2] fakeroot dwimery for scripts/package/*

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

 



On Wed, Oct 14, 2009 at 01:46:23AM -0500, Jonathan Nieder wrote:
> Without these patches, to build an upgraded kernel on a Debian machine,
> one has to use commands I keep on forgetting:
> 
> 	make oldconfig
> 	make
> 	fakeroot -u make deb-pkg
> 
> With these patches applied, as long as fakeroot is installed, a single
> command will do:
> 
> 	make oldconfig deb-pkg
> 
> If fakeroot is not installed, there should be no change in behavior.
> I have been using this to build the last few kernels, finding it very
> convenient.
> 
> I look forward to your thoughts, even if they are just "I have no time
> to look at this now".  I would like to get an idea of whether people
> think these patches are a good idea, so I can fix them if they're
> broken and chase them out of my local tree.

I have not yet started to look at -next material where
this obviously belongs.
I skimmed the path last time you sent it (and have it queued
in my inbox) and my first reaction was:

    Is ROOTCMD an established way to specify this?

I asked google and not too many hits.
So I think we should come up with something more in the
line of the other stuff we have.

That could be the longer:

   KBUILD_PKG_ROOTCMD

Which with the KBUILD_ prefix could be a globel environment
variable for some.

The rationale for the _PKG is that this is restricted to
the *pkg targets (at least for now).

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux