aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-16 00:01:28 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-16 00:01:28 -0500
commit2704a1c0ce34d81fdde6d2c365df0b9a77545fc3 (patch)
treebe16050026c3b0b2d821d8abf315408156c2fedf /lfs.sh
parent36bdd88a911512bf029d15a362a4de1da3d288fd (diff)
Was forgotten.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-xlfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lfs.sh b/lfs.sh
index 0f39d59..3f9ac63 100755
--- a/lfs.sh
+++ b/lfs.sh
@@ -6,6 +6,7 @@ export LFS_TGT=x86_64-lfs-linux-gnu
export LFS_DISK=/dev/sdb
export LFS_ROOT=1
export LFS_PWD=lfs
+export LFS_SRC=${LFS}/sources
[[ -d /mnt/lfs ]] || sudo mkdir ${LFS}
@@ -15,6 +16,7 @@ if ! grep -q "${LFS}" /proc/mounts; then
sudo chown -v $USER "$LFS"
fi
+mkdir -pv ${LFS_SRC}
mkdir -pv ${LFS}/tools
mkdir -pv ${LFS}/bin
mkdir -pv ${LFS}/etc