mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-01-23 22:42:28 +08:00
363 lines
5.7 KiB
Bash
363 lines
5.7 KiB
Bash
#!/bin/bash
|
|
|
|
# compiles the system software
|
|
|
|
/bin/bash CH08.01-man-pages.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.01-man-pages.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Man Pages complete [1/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.02-iana-etc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.02-iana-etc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 IANA ETC Complete [2/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.03-glibc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.03-glibc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 GlibC Complete [3/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.04-zlib.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.04-zlib.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Zlib Complete [4/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.05-bzip2.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.05-bzip2.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Bzip2 Complete [5/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.06-xz.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.06-xz.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 XZ Complete [6/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.07-lz4.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.07-lz4.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 LZ4 Complete [7/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.08-zstd.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.08-zstd.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 ZSTD Complete [8/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.09-file.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.09-file.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 File Complete [9/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.10-readline.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.10-readline.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Readline Complete [10/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.11-m4.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.11-m4.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 M4 Complete [11/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.12-bc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.12-bc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 BC Complete [12/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.13-flex.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.13-flex.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Flex Complete [13/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.14-tcl.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.14-tcl.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Tcl Complete [14/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.15-expect.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.15-expect.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Expect Complete [15/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.16-dejagnu.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.16-dejagnu.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 DejaGNU Complete [16/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.17-pkgconf.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.17-pkgconf.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Pkgconf Complete [17/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.18-binutils.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.18-binutils.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Binutils Complete [18/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.19-gmp.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.19-gmp.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 GMP Complete [19/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.20-mpfr.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.20-mpfr.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 MPFR Complete [20/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.21-mpc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.21-mpc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 MPC Complete [21/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.22-attr.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.22-attr.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Attr Complete [22/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.23-acl.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.23-acl.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 ACL Complete [23/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.24-libcap.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.24-libcap.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Libcap Complete [24/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.25-libxcrypt.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.25-libxcrypt.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Libxcrypt Complete [25/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash BLFS.01-cracklib.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed BLFS.01-cracklib.sh"
|
|
exit 1
|
|
else
|
|
echo "BLFS Cracklib Complete [26/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.26-shadow.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.26-shadow.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Shadow Complete [27/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.27-gcc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.27-gcc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 GCC Complete [28/35/82]"
|
|
sleep 60
|
|
fi
|
|
|
|
/bin/bash CH08.28-ncurses.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.28-ncurses.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Ncurses Complete [29/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.29-sed.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.29-sed.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Sed Complete [30/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.30-psmisc.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.30-psmisc.sh"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Psmisc Complete [31/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.31-gettext.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.31-gettext"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Gettext Complete [32/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.32-bison.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.32-bison"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Bison Complete [33/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.33-grep.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.33-grep"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Grep Complete [34/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
/bin/bash CH08.34-bash.sh
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "failed CH08.34-bash"
|
|
exit 1
|
|
else
|
|
echo "LFS Chapter 8 Bash Complete [35/35/82]"
|
|
sleep 3
|
|
fi
|
|
|
|
|
|
echo "You should set the r00t password now."
|
|
echo "Just type the command:"
|
|
echo " passwd"
|
|
echo
|
|
echo "Also, Exit chroot and re-enter to invoke newly built bash"
|
|
|
|
exit 0
|