On Sat, Jun 17, 2000 at 09:38:01PM +0200, Xuan Baldauf wrote:
> Frank van Maarseveen wrote:
> > On Thu, Jun 15, 2000 at 05:16:15PM +0200, Xuan Baldauf wrote:
> > > over night (my box is not the fastest). This usually works fine. But everytime
> > > you forget to update EXTRAVERSION, I get my modules overwritten in the wrong
> > > place.
> > >
> > > So *please* use a script which automatically increments EXTRAVERSION (I'm sure
> > > you use a script
> > Umm, something you could check in a script as well...
> I do not know Alan's build-a-new-ac-patch-scripts
Well, what I actually meant is that if you automate something like "make
modules_install" to run unattended it makes sense to put in some checks.
Such an automated build should never overwrite your modules and it
should be fairly easy to protect your system from doing that. For example
make the appropriate places writable for a dedicated kernel build user
in advance, do the kernel build/install as that non-root user and
revoke the rights afterwards.
Also, it is fairly easy to _set_ the extraversion by a patch script and
to undo it again after the kernel build (so the next ac level will patch
cleanly). If you know the name of the patch you know the EXTRAVERSION.
Don't build kernels as root. Give the [dedicated] user (e.g. "src",
"linux", "boot") enough power to do just that job or do the last step
manually as root (that's what I do).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:15 EST