aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-06 08:18:40 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-06 08:18:40 -0500
commitcf16de0c2f9240078916b06e4e3f16a8be05cfee (patch)
tree6e808e0638ac87b7da44b9a3710afb3bc61123ea
parent9dcfdfa38ad67d643004dbe436fa25973b58c5bf (diff)
parent23dc6b4e526722512eff9611e353b5da1f303896 (diff)
Merge branch 'cleanup' into chapter8
-rw-r--r--insidechroot.sh18
-rw-r--r--packages.csv2
2 files changed, 17 insertions, 3 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
diff --git a/packages.csv b/packages.csv
index d72430f..ec8e073 100644
--- a/packages.csv
+++ b/packages.csv
@@ -59,7 +59,7 @@ openssl,1.1.1j,https://www.openssl.org/source/openssl-@.tar.gz,cccaa064ed860a2b4
patch,2.7.6,http://ftp.gnu.org/gnu/patch/patch-@.tar.xz,78ad9937e4caadcba1526ef1853730d5
perl,5.32.1,https://www.cpan.org/src/5.0/perl-@.tar.xz,7f104064b906ad8c7329ca5e409a32d7
pkg-config,0.29.2,https://pkg-config.freedesktop.org/releases/pkg-config-@.tar.gz,f6e931e319531b736fadc017f470e68a
-procps,3.3.17,https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-@.tar.xz,d60613e88c2f442ebd462b5a75313d56
+procps-ng,3.3.17,https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-@.tar.xz,d60613e88c2f442ebd462b5a75313d56
psmisc,23.4,https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-@.tar.xz,8114cd4489b95308efe2509c3a406bbf
python,3.9.4,https://www.python.org/ftp/python/@/Python-@.tar.xz,2a3dba5fc75b695c45cf1806156e1a97
pythdoc,3.9.2,https://www.python.org/ftp/python/doc/@/python-@-docs-html.tar.bz2,719cd64a4c5768b646b716df20229400