bash scripts to automate LFS tools and for learning.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01_binutils-pass1.sh
02_gcc-pass1.sh
03_headers.sh
04_glibc.sh
05_libstdc++.sh
06_binutils-pass2.sh
07_gcc-pass2.sh
08_tcl-core.sh
09_expect.sh
10_dejagnu.sh
11_check.sh
12_m4.sh
13_ncurses.sh
14_bash.sh
15_bison.sh
16_bzip2.sh
17_coreutils.sh
18_diffutils.sh
19_file.sh
20_findutils.sh
21_gawk.sh
22_gettext.sh
23_grep.sh
24_gzip.sh
25_make.sh
26_patch.sh
27_perl.sh
28_sed.sh
29_tar.sh
30_texinfo.sh
31_util-linux.sh
32_xz.sh
33_zlib.sh
34_dpkg.sh
README.md
backuptools.sh
build_tools.sh
chroot.sh
config.sh
debian-LFS-depends.sh
glibc-test.sh
logo
strip-tools.sh
template.sh
test-gcc.sh
version-check.sh
wget-list
wget.sh

README.md

LFS-tools-scripts

easy instauctions

1: run the config file

./config.sh

2: run the wget script

./wget.sh

3: run every script numbered 0-9 or run build_tools.sh to build all at once.

4: optionally back up the LFS tools by running

./backuptools.sh

5: chroot into LFS tools

./chroot.sh

0: cleaning up

the only thing to clean up after building LFS or messing up and starting over is

rm -rf /mnt/lfs

rm /tools

optionally delete backup tools to clean up further

rm -rf /LFS-tools-backup/

and then you can start over by running config.sh again and wget.sh

0: optionally restoring LFS tools from a backup

clean up first by removing /mnt/lfs & /tools

run the config.sh again

cp -r /LFS-tools-backup/tools/ /mnt/lfs

and the tools are ready again.