diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 15:39:20 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 15:39:20 -0500 |
commit | b5a6b72fc21d9f54b626cc8be5536b179125efd4 (patch) | |
tree | f35a8ae9e41b2e8116272f8d82ac3cd1c6243702 /lfs.sh | |
parent | 0e1cd3eda02f349022e8197ffe963ec148de8f31 (diff) |
Add SPINNER to chroot variables for spinnertype to be used.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-x | lfs.sh | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -125,10 +125,10 @@ source chapter6/backup.sh chmod ugo+x preparechroot.sh chmod ugo+x insidechroot.sh -printf "%b" "${CYN}PREPARING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" +printf "%b" "\n${CYN}PREPARING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" sudo ./preparechroot.sh "${LFS}" -printf "%b" "${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" +printf "%b" "\n${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" sleep 3 sudo chroot "${LFS}" /usr/bin/env \ @@ -138,11 +138,12 @@ sudo chroot "${LFS}" /usr/bin/env \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ NUMPROCS="${NUMPROCS}" \ MAKEFLAGS="${MAKEFLAGS}" \ + SPINNER="${SPINNER}" \ TESTERUID="$(id -u)" \ /bin/bash --login +h -c "/sources/insidechroot.sh 7" retval=$? -printf "%b" "${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" +printf "%b" "\n${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" # Cleanup and Backup if chapter 7 successfully finished if [ "$retval" -eq 7 ]; then printf "%b" "${GRN}Unmounting Virtual Kernel Filesystems...\n" @@ -162,6 +163,9 @@ fi # Mount virtual kernel filesystems after cleanup and backup source mountvirtfs.sh +printf "%b" "\n${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" +sleep 3 + # Enter CHROOT for chapter 8, 9 and 10 sudo chroot "${LFS}" /usr/bin/env \ HOME=/root \ @@ -170,7 +174,8 @@ sudo chroot "${LFS}" /usr/bin/env \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ NUMPROCS="${NUMPROCS}" \ MAKEFLAGS="${MAKEFLAGS}" \ + SPINNER="${SPINNER}" \ TESTERUID="$(id -u)" \ /bin/bash --login +h -c "/sources/insidechroot.sh 8" -printf "%b" "${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" +printf "%b" "\n${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" |