Hi all.

I'm looking the code for ChrootCompile.

Function create_root tries to create at the end a symlink to a non
existent directory:

         ln -nfs .. $rootdir/$prefix

rootdir as been yet set to $1/$2 where $1 is set to:
        "/Mount/HDB1/Epia/Bootstrap/chroot/Area-UClibc-0.9.26-r2/"
and $2 is set to:
        "/Mount/HDB2/System/Epia-C3/"

Is this a type and the symlink should be created as:
         ln -nfs .. `echo $rootdir | cut -d"/" -f2-`

or the command is fine, the should exec before the ln command:a
        local tmp=$rootdir/$prefix
        mkdir -p ${tmp%/*}
        ln -nfs .. $rootdir/$prefix

I think the problem comes because i'm not using standard places to make
the compile.

Greets.

Aitor
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to