lfs-buildscripts/CH5Build/CH05-Master.sh
YellowJacketLinux 085448d19c bug fix
2024-10-05 19:03:27 -07:00

60 lines
1.0 KiB
Bash

#!/bin/bash
LFS="/mnt/newlfs"
/bin/bash CH05.01-binutils-pass1.sh
if [ $? -ne 0 ]; then
echo "failed CH05.01-binutils-pass1.sh"
exit 1
else
echo "LFS Chapter 5 binutils Pass 1 complete"
sleep 3
fi
/bin/bash CH05.02-gcc-pass1.sh
if [ $? -ne 0 ]; then
echo "failed CH05.02-gcc-pass1.sh"
exit 1
else
echo "LFS Chapter 5 GCC Pass 1 complete"
# warms up the CPU
sleep 60
fi
/bin/bash CH05.03-linux-api-headers.sh
if [ $? -ne 0 ]; then
echo "failed CH05.03-linux-api-headers.sh"
exit 1
else
echo "LFS Chapter 5 Linux API Headers complete"
sleep 3
fi
ln -sfv ../lib/ld-linux-x86-64.so.2 ${LFS}/lib64
ln -sfv ../lib/ld-linux-x86-64.so.2 ${LFS}/lib64/ld-lsb-x86-64.so.3
/bin/bash CH05.04-glibc.sh
if [ $? -ne 0 ]; then
echo "failed CH05.03-linux-api-headers.sh"
exit 1
else
echo "LFS Chapter 5 Glibc 2.40 complete"
sleep 3
fi
/bin/bash CH05.05-libstdc++.sh
if [ $? -ne 0 ]; then
echo "failed CH05.05-libstdc++.sh"
exit 1
else
echo "LFS Chapter 5 Libstdc++ from GCC 14.2.0 complete"
sleep 3
fi