diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 08:18:40 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 08:18:40 -0500 |
commit | cf16de0c2f9240078916b06e4e3f16a8be05cfee (patch) | |
tree | 6e808e0638ac87b7da44b9a3710afb3bc61123ea /insidechroot.sh | |
parent | 9dcfdfa38ad67d643004dbe436fa25973b58c5bf (diff) | |
parent | 23dc6b4e526722512eff9611e353b5da1f303896 (diff) |
Merge branch 'cleanup' into chapter8
Diffstat (limited to 'insidechroot.sh')
-rw-r--r-- | insidechroot.sh | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/insidechroot.sh b/insidechroot.sh index 28cf64f..b78a4a2 100644 --- a/insidechroot.sh +++ b/insidechroot.sh @@ -22,7 +22,21 @@ if [[ "${CHAPTER}" -eq 7 ]]; then exit 1 fi done - + +elif [[ "${CHAPTER}" -eq 8 ]]; then + + # Chapter 8 + printf "%b" "\n${IWHT}============ ${IGRN}Building ${IYLW}Chapter 8${IWHT} \ +============${RST}\n" + + for package in man-pages iana-etc glibc zlib bzip2 xz zstd file readline m4 bc flex tcl expect dejagnu binutils gmp mpfr mpc isl attr acl libcap shadow gcc pkg-config ncurses sed psmisc gettext bison grep bash libtool gdbm gperf expat inetutils perl xml-parser intltool autoconf automake kmod libelf libffi openssl python ninja meson coreutils check diffutils gawk findutils groff grub less gzip iproute2 kbd libpipeline make patch man-db tar texinfo vim eudev procps-ng util-linux e2fsprogs sysklogd sysvinit; do + source packageinstall.sh 8 $package + retval=$? + if [[ "${retval}" -ne 0 ]]; then + exit 1 + fi + done + else - printf "%b" "Do Chapter 8, 9 and 10 stuff here.\n" + printf "%b" "Do Chapter 9 and 10 stuff here.\n" fi |