[Clfs-dev] [CLFS-DEV] Embedded Ticket-924

Kirk Terrell knjterrell at mybluelight.com
Sat Jul 13 07:09:47 PDT 2013


Good Morning,

I've been experimenting with doing the embedded build without creating a 
clfs user, and minimizing the need for root access - I think I've 
managed by doing the following:

	* create-dir/creatingbuilddir.html: Using sudo to create the working 
directory and then changing ownership to user

	* Skip final-preps/addinguser.html

	* final-preps/settingenvironment.html:	Adding HOME=/mnt/clfs to the 
.bashrc file, and writing it to $CLFS/.bashrc

	* Execute the remainder of the book from bash --rcfile $CLFS/.bashrc.

	* cleanup/remove-files.html: Copy files to the ${CLFS}/build/final 
directory.

	* cleanup/chowning.html: Use fakeroot to execute

	* cleanup/copy-to-target.html: Use fakeroot - one has to do the 
chowning and copy as one fakeroot session.

Do you think this is worth pursuing further?
____________________________________________________________
New BlackBerry&#174 Z10
Discover the BlackBerry Z10, built to keep you moving. Get it today.
http://thirdpartyoffers.netzero.net/TGL3341/51e15f45482625f435c38st02duc



More information about the Clfs-dev mailing list