From eb56ecd45379868a953bcbc3bcdbf79d79596189 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 12 Apr 2021 17:38:10 -0500 Subject: Add chapter 10 section and pass disk, partition and filesystem variables to chroot. --- insidechroot.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'insidechroot.sh') diff --git a/insidechroot.sh b/insidechroot.sh index 35cc244..0c917ab 100644 --- a/insidechroot.sh +++ b/insidechroot.sh @@ -62,6 +62,20 @@ elif [[ "${CHAPTER}" -eq 9 ]]; then printf "%b" "${GRN}Configuring system shells${RST}\n" source chapter9/shells.sh +elif [[ "${CHAPTER}" -eq 10 ]]; then + + # Chapter 10 + printf "%b" "\n${IWHT}============ ${IGRN}Building ${IYLW}Chapter 10${IWHT} \ +============${RST}\n" + + printf "%b" "${GRN}Creating fstab configuration${RST}\n" + source chapter10/fstab.sh +# source packageinstall.sh 10 linux + retval=$? + if [[ "${retval}" -ne 0 ]]; then + exit 1 + fi + else - printf "%b" "Do Chapter 10 stuff here.\n" + printf "%b" "Do \"The End\" stuff here.\n" fi -- cgit v1.2.3-54-g00ecf From fac2fa09f9d6424cc4c1c3aa8892f306e55a9b9e Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 13 Apr 2021 14:20:40 -0500 Subject: Add command for building the kernel. --- insidechroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'insidechroot.sh') diff --git a/insidechroot.sh b/insidechroot.sh index 0c917ab..ac193ae 100644 --- a/insidechroot.sh +++ b/insidechroot.sh @@ -70,7 +70,7 @@ elif [[ "${CHAPTER}" -eq 10 ]]; then printf "%b" "${GRN}Creating fstab configuration${RST}\n" source chapter10/fstab.sh -# source packageinstall.sh 10 linux + source packageinstall.sh 10 linux retval=$? if [[ "${retval}" -ne 0 ]]; then exit 1 -- cgit v1.2.3-54-g00ecf