/ cosmetics

/ readme
/ minor bugfix 5.19
This commit is contained in:
Romain Claret
2016-09-01 12:55:25 +02:00
parent a801402817
commit c16eb6f389
7 changed files with 29 additions and 14 deletions

View File

@ -60,7 +60,7 @@ time {
make $PROCESSOR_CORES &> $LOG_FILE-make.log
echo ".... Checking make $SOURCE_FILE_NAME"
ake check $PROCESSOR_CORES &> $LOG_FILE-make-check.log
make check $PROCESSOR_CORES &> $LOG_FILE-make-check.log
echo ".... Installing $SOURCE_FILE_NAME"
make install $PROCESSOR_CORES &> $LOG_FILE-make-install.log

View File

@ -75,7 +75,7 @@ echo "### Warning Counter: $WARNINGS_COUNTER"
echo "### Error Counter: $ERRORS_COUNTER"
echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\"
echo "### Please run the next step:"
echo "### exit until you are back to root on ~/lfs-7.8"
echo "### exit until you are back on the git repo lfs-7.8"
echo "### ./5.36-root_changing-ownership.sh"
echo ""

View File

@ -75,7 +75,7 @@ echo "######### END OF CHAPTER 8.$CHAPTER_SECTION ########"
echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\"
echo "!! Info: At this point it's safe to delete /sources if you wish"
echo "### Please run the next steps:"
echo "### ./9.1-chroot_the-end.sh"
echo "### ./8.4-chroot_grub.sh"
echo ""

View File

@ -31,3 +31,4 @@ check_chroot
./8.2-chroot_etc-fstab.sh
./8.3-chroot_linux-42-part-1.sh
./8.4-chroot_grub.sh

View File

@ -34,22 +34,29 @@ https://www.virtualbox.org
- Give the permission rights to the first file (chmod +x 0.0-root_initial.sh)
- Run the first file (./0.0-root_initial.sh)
- Then you have the options to go
- auto-pilot
- auto-pilot (not recommended if first use) !! READ steps and interact !!
- ./all-root_auto-pilot.sh
- semi-auto-pilot
- ./2.all-root_make-new-partitions.sh !! READ steps and interact !!
- semi-auto-pilot (not recommended if first time use) !! READ steps and interact !!
- ./2.all-root_make-new-partitions.sh
- ./5.all-lfs_construct-tools.sh
- ./6.all-part-1-root_installing-basic-system.sh
- ./6.all-part-2-chroot_installing-basic-system.sh
- ./6.all-part-3-chroot_installing-basic-system.sh
- ./7.all-chroot_configuration_bootscripts.sh
- ./8.all-chroot_make-bootable.sh
- sequential (script per script)
- start with: ./2.3-root_create-files-system-on-partitions.sh
- sequential (recommended if first use) ignore when a file has "all" in it and check next script below. Please: !! READ steps and interact !!
- ./2.3-root_create-files-system-on-partitions.sh
- ./3.all-root_packages-patches.sh
- ./5.3-lfs_check-tools.sh
- ./6.2-root_preparing-virtual-kernel.sh
- ./6.5-chroot_creating-directories.sh
- ./6.7-chroot_api-headers.sh
- ./6.37-chroot_bc.sh
- ./7.2-chroot_bootscripts.sh
- ./8.2-chroot_etc-fstab.sh
## Tips:
- Do snapshots often!
- I recommend minimum at end of each chapter
## I love pull requests :)
C ya :)

View File

@ -3,7 +3,7 @@ echo ""
echo "### --------------------------"
echo "### AUTO-PILOTE ###"
echo "### RUN ALL CHAPTERS ###"
echo "### Run all chapter 2"
echo "### Auto Pilote all chapters"
echo "### Must be run as \"root\""
echo "### --------------------------"
echo ""
@ -31,8 +31,11 @@ is_user root
./4.all-root_final-preparations.sh
./5.all-lfs_construct-tools.sh
./6.all-part-1-root_installing-basic-system.sh
./6.all-part-2-root_installing-basic-system.sh
./6.all-part-3-root_installing-basic-system.sh
./6.all-part-4-root_installing-basic-system.sh
./7.all-chroot_configuration_bootscripts.sh
./8.all-chroot_make-bootable.sh
echo ""
echo "####### END OF CHAPTER 2.ALL #######"
echo "####### END OF AUTO-PILOTE ALL CHAPTERS #######"

View File

@ -254,15 +254,19 @@ function get_build_errors_5
if [ $ERRORS_COUNTER -ne 0 ]; then
echo "!! Info: Known errors and not critical:"
echo "Chapters 5.5, 5.7, 5.12, 5.14, 5.15, 5.16, 5.30"
echo "Chapters 5.5, 5.7, 5.12, 5.14, 5.15, 5.16, 5.18, 5.19, 5.24, 5.26, 5.30"
echo ""
echo "!! Info: Until now you had $ERRORS_COUNTER errors, however they are not all critical. Crtical errors are displayed below:"
grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_5* | grep -v "_5_5\|_5_7\|_5_12\|_5_14\|_5_15\|_5_16\|_6_30"
grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_5* | grep -v "_5_5\|_5_7\|_5_12\|_5_14\|_5_15\|_5_16\|_5_18\|_5_19\|_5_24\|_5_26\|_5_30"
echo "--> If any error, please check on http://www.linuxfromscratch.org/lfs/build-logs for comparaison."
else
echo "---> Congrats you have no errors."
fi
}
# 5.19: https://lists.gnu.org/archive/html/bug-grep/2016-01/msg00033.html
# 5.24: https://lists.gnu.org/archive/html/bug-grep/2016-01/msg00034.html
# 5.26: https://lists.gnu.org/archive/html/bug-grep/2016-01/msg00033.html
function get_build_errors_6_host
{