From c661b9fdbe07971f5902ba763787961bcf24628a Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 18 Mar 2021 11:13:53 -0500 Subject: Add MAKEFLAGS, adjust some variables and include spinner and colors. --- lfs.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lfs.sh b/lfs.sh index 70737bc..7d17d7f 100755 --- a/lfs.sh +++ b/lfs.sh @@ -1,6 +1,8 @@ #!/bin/bash -source versioncheck.sh +source spinner.sh +source colors.sh +#source versioncheck.sh export LFS_VER=LFS10_1 export LFS=/mnt/lfs @@ -9,6 +11,7 @@ export LFS_DISK=/dev/sdb export LFS_ROOT=1 export LFS_PWD=lfs export LFS_SRC=${LFS}/sources +export MAKEFLAGS="-j 3" [[ -d /mnt/lfs ]] || sudo mkdir ${LFS} @@ -36,8 +39,12 @@ esac #echo -e "${LFS_PWD}\n${LFS_PWD}\n" | sudo passwd lfs -cp -rf *.sh packages.csv "${LFS}/sources" +cp -rf *.sh chapter* packages.csv "${LFS}/sources" cd "${LFS}/sources" export PATH="${LFS}/tools/bin:${PATH}" -source download.sh \ No newline at end of file +source download.sh + +for package in binutils gcc linux-api-headers glibc libstdc++; do + source packageinstall.sh 5 $package +done \ No newline at end of file -- cgit v1.2.3-54-g00ecf