From 40875a9574722fa9d31a60dbe5697ecd9c98a731 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 17 Dec 2021 19:33:29 +0800 Subject: [PATCH] cross-ng: chapter 2: mounting a partition on $LFS is not needed --- chapter02/aboutlfs.xml | 13 +++++++++---- chapter02/chapter02.xml | 1 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index 41b50a2a0..ed64a485a 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -15,10 +15,8 @@ throughout the LFS build process. It should be set to the name of the directory where you will be building your LFS system - we will use /mnt/lfs as an example, but the - directory choice is up to you. If you are building LFS on a separate - partition, this directory will be the mount point for the partition. - Choose a directory location and set the variable with the - following command: + directory choice is up to you. Choose a directory location and set the + variable with the following command: export LFS=/mnt/lfs @@ -28,6 +26,13 @@ /mnt/lfs (or whatever the variable was set to) when it processes the command line. + Create the directory: + +mkdir -pv $LFS + + If you don't have much space in the partition holding the directory, + you can mount another partition on it. + Do not forget to check that LFS is set whenever you leave and reenter the current working environment (such as when doing a diff --git a/chapter02/chapter02.xml b/chapter02/chapter02.xml index c228ef2d8..3f68ce354 100644 --- a/chapter02/chapter02.xml +++ b/chapter02/chapter02.xml @@ -17,6 +17,5 @@ -