Automatics LFS builds using jhalfs.

M.Canales.es manuel at linuxfromscratch.org
Mon Oct 3 15:27:24 PDT 2005


El Lunes, 3 de Octubre de 2005 23:44, Dan Nicholson escribió:

> Don't know if this works with make, but I saw a nice solution to this
> problem in Greg Shafer's build system that uses Bash scripts.  In
> order to continue to run as root user in the chroot, he uses:
> exec su -c "${CHROOT_CMD}"
> where CHROOT_CMD is something like
> chroot ${DIR} ${ENV_VARS} ${the_same_script} --chroot

That is very similar to what Jeremy has added, except for the "exec su -c" and 
that instead of invoking "make" we execute the relevant shell script for each 
package build.


-- 
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.com
TLDP-ES:                           http://es.tldp.org



More information about the lfs-dev mailing list