diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index e2cfb91cb..0e4df4569 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -27,12 +27,12 @@ needing later on. -cp -r ../src/linux/include/linux . and -cp -r ../src/linux/include/asm .: These +cp -a ../src/linux/include/linux . and +cp -a ../src/linux/include/asm .: These commands copy the kernel headers in the $LFS/usr/include -directory. For details on why we don't link to these directories (anymore) -instead of copying them, please refer to the README -file in the kernel source. +directory. For details on why we don't link to these directories +(anymore), and instead copy them, please refer to the +README file in the kernel source. diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index 3b51c15c4..0ed696855 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -18,8 +18,8 @@ The kernel configuration file is created by running the following command: yes "" | make config && make dep && cd $LFS/usr/include && - cp -r ../src/linux/include/linux . && - cp -r ../src/linux/include/asm . + cp -a ../src/linux/include/linux . && + cp -a ../src/linux/include/asm .