On Fri, 02 Mar 2007 08:21:43 -0000, Alan Lord <[EMAIL PROTECTED]>  
wrote:

> Brian wrote:
>> Please could someone spell out the reason for building software as an
>> unprivileged user? This is recommended in the BLFS book and elsewhere
>> (though not in LFS), but I can't find a full explanation.
> <snip/>
>> (The reason I'm asking, in case you're interested, is that I'm  
>> automating
>> the build using a simple bash script for each package, and it would be
>> simpler to run everything as root rather than having to add 'sudo' to my
>> system, which is the only other way I can see of doing it.)
>>
>> Thanks,
>>
>> Brian
>>
>
> Take a look at JHALFS - it is a bash script which reads "the book" (LFS,
> BLFS, CLFS and HLFS) it extracts all the commands and builds makefiles
> to automate the entire process. It requires sudo and, I think, jumps
> back and forth between root and unprivileged user as needed by the  
> commands.

Thanks for the suggestion. I might give JHALFS a go in the future, but for  
now I'll stick to my more laborious one-script-per-package method. (I can  
take a bit of pain with my software - I once "upgraded" to Windows ME.)
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to