On Tue, 20 Dec 2005 20:26:59 +0100
Michiel Faber <[EMAIL PROTECTED]> wrote:

> Dan Nicholson schreef:
> 
> >On 12/20/05, Richard A Downing <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>On Tue, 20 Dec 2005 12:44:16 -0000 (GMT)
> >>"S. Anthony Sequeira" <[EMAIL PROTECTED]> wrote:
> >>
> >>    
> >>
> >>>On Tue, December 20, 2005 11:48, Jeremy Byron said:
> >>>      
> >>>
> >>>>Dan Nicholson wrote:
> >>>>        
> >>>>
> >>>>>Yep, no reason why not.  You can script everything if you want.
> >>>>>In fact, I doubt there are any veteran LFSers who don't script
> >>>>>the build.
> >>>>>          
> >>>>>
> >>>[...]
> >>>
> >>>      
> >>>
> >>>>Long story short: I may be an idiot, but there's at least one
> >>>>veteran LFSer who doesn't script the build. :)
> >>>>        
> >>>>
> >>>I'm an idiot too, because I cut and paste (and reread).
> >>>      
> >>>
> >>Me too, although I do use scripts for BLFS - one per package.
> >>    
> >>
> >
> >Well, color me corrected.  The first time I did LFS it was all
> >C-and-P, and I was so tired of waiting for the packages to finish
> >that I vowed to never do it that way again.  I guess that feeling's
> >not as widespread as I thought.
> >
> >--
> >Dan
> >  
> >
> I start writing scripts myself, but how can i script things if first
> a user has to do something and later root.
> I.e as user i do "./configure & make", but i have to do "make
> install" as root.
> 
> How you guys solve this? Of course i can do everything as root, but i 
> learned; " only use root when you have to"

sudo - nice package, solves the problem of scripting su.  It's not in
BLFS (but should be), however it's a straight CMMI package.

Personally I prove the script works with a DESTDIR/-prefix, and then
run it as root - it's my computer, so I use my rules!

R.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to