From 0d824c52807e3060f19e5ba5c7408905cd3aa4c2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 22 Jul 2023 18:36:33 +0800 Subject: [PATCH] kernel: Simplify doc installation --- chapter10/kernel.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 244c86623..ad6b252a7 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -431,8 +431,7 @@ Device Drivers ---> Install the documentation for the Linux kernel: -install -d /usr/share/doc/linux-&linux-version; -cp -r Documentation/* /usr/share/doc/linux-&linux-version; +cp -r Documentation -T /usr/share/doc/linux-&linux-version; It is important to note that the files in the kernel source directory are not owned by root. Whenever a