El Jueves, 3 de Agosto de 2006 20:35, Dan Nicholson escribió: > In order to build as my normal user, I had to hack up LFS/master.sh > and common/common-functions. What I figured would be easier was if the > user and group were defined in the Makefile. Then you could use > > make LUSER=dnicholson LGROUP=dnicholson > > I changed all the wrt functions to use these values. This method has > the added benefit that you could toss out all the special clfs > functions that only change the user. I added the above variables to > LFS/config and CLFS/config.
Looks interesting, more if taking into account that we already keep care of the possible pre-existence of the builder user not adding/deleting it and making a buck-up/restore of their .bash_profile and .bashrc files. That could allow us to remove a lot of duplicated code. -- Manuel Canales Esparcia Usuario de LFS nº2886: http://www.linuxfromscratch.org LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
