From fff38a9571ab324622a1e0147a67d60f07d84582 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sun, 22 Jan 2023 22:26:34 +0530 Subject: [PATCH] remove useless comments --- scripts/main.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/main.sh b/scripts/main.sh index 77d0aab..5ce0d56 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -110,16 +110,6 @@ fi # Chapter 7.4 # =========== echo "Entering the Chroot Environment" -#su -c "bash $PWD/chapter7/7.4-enter-chroot.sh" - -# Exit on error -# check_exit_code -# if [ $exit_status -ne 0 ] -# then -# stop_script "chapter7/7.4-enter-chroot.sh" -# fi - -# If I think it is what it is, then it should not be executed as a child script as it would exit chroot. However, I wouldn't know unless I run it. I will keep it commented for now. chroot "$LFS" /usr/bin/env -i \ HOME=/root \ @@ -130,8 +120,6 @@ chroot "$LFS" /usr/bin/env -i \ PWD=$(pwd) -# I don't think $PWD is important at this point since the chroot will drop us in $LFS, treated as /. We lost the location of this script. Here's hoping the user puts this repo in $LFS/sources. So much for avoiding hardcoded paths...all goes out the window. - export SCRIPT=/sources/lfs-scripts # Chapter 7.5