From 5aa8b719e602c30446cdb35566ddf29c3c450a25 Mon Sep 17 00:00:00 2001 From: Simon Perreault Date: Thu, 3 May 2001 23:23:21 +0000 Subject: Added FHS compliance notes regarding the use of symlinks for the kernel header directories. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@564 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/kernel-inst.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'chapter05/kernel-inst.xml') diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index 44974545e..d641edf92 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -24,3 +24,23 @@ The kernel configuration file is created by running the following command: + +FHS compliance notes + + +According to the FHS, the /usr/include/linux and /usr/include/asm should be +actual directories, not symbolic links to the ones belonging to the current +kernel. The major advantage is that programs will compile with the headers glibc +was compiled with, and this may prevent some compiling hell. Until now, in all +of LFS' history, no compiling problem has been reported by using symlinks. So if +you're tight on space, we recommend using symlinks. But if you want to be FHS +compliant, replace the two last lines from the commands above with those: + + +
+ cp -r ../src/linux/include/linux . && + cp -r ../src/linux/include/asm . +
+ +
+ -- cgit v1.2.3-54-g00ecf