diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index 0e4df4569..e2fd20581 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -27,8 +27,8 @@ needing later on. -cp -a ../src/linux/include/linux . and -cp -a ../src/linux/include/asm .: These +cp -R ../src/linux/include/linux . and +cp -R ../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), and instead copy them, please refer to the diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index 0ed696855..f15a4bc5c 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 -a ../src/linux/include/linux . && - cp -a ../src/linux/include/asm . + cp -R ../src/linux/include/linux . && + cp -R ../src/linux/include/asm .