From 7cbbce6b755c4defa67840a38db0f92869fb758f Mon Sep 17 00:00:00 2001 From: YellowJacketLinux Date: Sun, 13 Oct 2024 15:32:55 -0700 Subject: [PATCH] minor fixes --- 00-SYSTEMPREP.sh | 2 ++ KernelBuild/02-linux-kernel.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/00-SYSTEMPREP.sh b/00-SYSTEMPREP.sh index 02116a5..b32f34c 100644 --- a/00-SYSTEMPREP.sh +++ b/00-SYSTEMPREP.sh @@ -25,3 +25,5 @@ mkdir -p ${LFS}/tools chown lfs ${LFS}/{usr{,/*},lib,var,etc,bin,sbin,tools} chown lfs ${LFS}/lib64 +mkdir -p ${LFS}/sources +chown lfs ${LFS}/sources diff --git a/KernelBuild/02-linux-kernel.sh b/KernelBuild/02-linux-kernel.sh index a29e867..30d02ba 100644 --- a/KernelBuild/02-linux-kernel.sh +++ b/KernelBuild/02-linux-kernel.sh @@ -47,6 +47,8 @@ install -D -m644 .config /boot/config-${KVSTRING} install -m644 System.map /boot/System.map-${KVSTRING} install -m644 arch/x86_64/boot/bzImage /boot/vmlinuz-${KVSTRING} +[ ! -d /usr/share/doc/linux ] && mkdir -p /usr/share/doc/linux + cp -r Documentation /usr/share/doc/linux/linux-${linux_lts_version} popd