new kernel install. instructions for book

Gerard Beekmans gerard at linuxfromscratch.org
Mon Mar 12 21:48:11 PST 2001


On March 13, 2001 12:45 am, Gerard Beekmans wrote:
> This is on the TODO list, not yet implemented.
>
> ---
>
> Instead of using:
> ln -s ../src/linux/include/linux &&
> ln -s ../src/linux/include/asm
>
> Let's use:
> ln -s $OLDPWD/include/linux &&
> ln -s $OLDPWD/include/asm
>
> Pro: no more assuming kernel headers are in /usr/src/linux. They could be
> elsewhere.
>
> Con: we'd be using an absolute path now.
>
> ---
>
> I think the pro outweighs the con in this case.

Bah, scrap that one. $OLDPWD will of course be set to 
/mnt/lfs/wherever/kernel/is which will do us no good in chroot.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

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




More information about the lfs-dev mailing list