aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lfs.sh')
-rwxr-xr-xlfs.sh13
1 files 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