Can't see symbolic links from chroot'd environment

Jesse Tie Ten Quee highos at highos.com
Wed Nov 22 08:51:35 PST 2000


Yo,

On Wed, Nov 22, 2000 at 08:11:07AM -0700, Roger deBry wrote:
> Of course this works when in the normal environment, but when I chroot to
> $LFS, the symbolic link points to a non-existant directory **relative** to
> the new root. This points out a problem in the version of the LFS document
> that I have. These symbolic links are set up several pages prior to setting
> up the chroot'd environment. That is why they point to the non-existent
> directory later on. I simply removed the symbolic links, and then while in
> the chroot'd environment I re-created them so that everything was relative
> to the new root. You might consider this chnage for a future version of the
> document.

cd $LFS/usr/include &&
ln -s ../src/linux/include/linux asm &&
ln -s ../src/linux/include/asm asm

That will work fine, and it will not make absolute symlinks. (which is,
btw how the book does it)

-
Jesse Tie Ten Quee - highos at highos dot com

-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list