Re: installing kernel.org kernels
- From: Gene Heskett <gene.heskett@xxxxxxxxxxx>
- Date: Thu, 30 Nov 2006 07:58:37 -0500
On Thursday 30 November 2006 07:52, Dave Jones wrote:
On Thu, Nov 30, 2006 at 07:43:07AM -0500, Gene Heskett wrote:Don't forget sudo mkinitrd, it won't run unless by root. :)
2. Trying to do this as a user rather than root because you all
decry my running everything as root. To that end I have broken
my 'makeit' script in two, doing all the building as myself and
leaving the installation to a separate script that must be run as
root. This seems to work, but is there a way to run as the
common user and still have rights to install the modules in
/lib/modules/$kernelver, and to install the pieces and links in
/boot that are required to achieve a working boot?
sudo ?
For another 30+ lines of script? I'd have to study up on wrapping
that one up correctly.
sudo make modules_install
sudo make install
That's all you need to do.
Side comment here. I know my present .config is probably building
quite a few more modules that I don't need since I started with a
make oldconfig, but can that explain why a kernel build that a month
ago on gcc-3.3.4 took 10 to 11 minutes, it now taking nearly 30
minutes to do with this newer compiler suite FC6 installs?
A big time saver when building your own kernels is to make sure
CONFIG_DEBUG_INFO is disabled.
It is disabled AFAIK
This speeds up the linking stage
considerably. Another big performance win (for recompiles) is to use
ccache.
My script starts with a make clean for correctness. How would/does ccache
work?
Dave
Thanks Dave.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: installing kernel.org kernels
- From: Dave Jones
- Re: installing kernel.org kernels
- References:
- installing kernel.org kernels
- From: Gene Heskett
- Re: installing kernel.org kernels
- From: Gene Heskett
- Re: installing kernel.org kernels
- From: Dave Jones
- installing kernel.org kernels
- Prev by Date: Re: installing kernel.org kernels
- Next by Date: RE: FC6 and Network
- Previous by thread: Re: installing kernel.org kernels
- Next by thread: Re: installing kernel.org kernels
- Index(es):
Relevant Pages
- Re: Card Reader
... Running your script ... instead of sudo is worthless because your script
*can't do ... And of course it doesn't ask for a root password, ... >> That's
just more bullshit Bryan, and you might as well leave ... (rec.photo.digital) - RE: Location of web root
... Subject: Location of web root ... during install) pointing out that a
Custom install will allow for a more ... in a different folder off C:. ... were
the script kiddie, how would you exploit the machine. ... (Security-Basics) - Re: Rexx problem? - advice sought, Please
... Examples (Start with Drive S: current is root): ... In REXX function
Directory() gets the same result as CD. ... There have been several public betas of this application
using the install script. ... (comp.os.os2.programmer.misc) - Re: pexpect with apache
... I added an entry for sudo for the script and it works without a hitch. ...
could su to root from the command line, so I don't think that was it. ... using either
sudo or the setuid flag would remove the need of ... (comp.lang.python) - Re: Deploy Root CA to 98
... > We have a few 98 machines left, and after implementing our first ever Root ...
> transparently on client Windows 98 computer in an Active Directory Networked ... You
could also use a capicom script to install the root as a trusted ... (microsoft.public.windows.server.security)