From a4da68159c17ba1fb5fe2ff381472008ef5a6b99 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 28 Jun 2001 15:56:27 +0000 Subject: chown root.root the kernel include files in $LFS/usr/include/linux|asm git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@724 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/kernel-exp.xml | 9 +++++++++ chapter05/kernel-inst.xml | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'chapter05') diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index 883364240..a89022963 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -33,5 +33,14 @@ These commands copy the kernel headers in the $LFS/usr/include directory. + +chown root.root $LFS/usr/include/linux -R and +chown root.root $LFS/usr/include/asm -R : +These commands change the ownership of the +$LFS/usr/include/linux and the +$LFS/usr/include/asm directories to the user +root and group root. + + diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index a12a517b1..c02df1090 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -21,8 +21,12 @@ The kernel configuration file is created by running the following command: make dep && cd $LFS/usr/include && cp -a ../src/linux/include/linux . && + chown root.root $LFS/usr/include/linux -R + && mkdir asm && - cp -a ../src/linux/include/asm/* asm + cp -a ../src/linux/include/asm/* asm && + chown root.root $LFS/usr/include/asm -R + -- cgit v1.2.3-54-g00ecf