Add 8.76 - Build sysvinit

This commit is contained in:
Aditya 2023-01-14 21:25:03 +05:30
parent 27d3cc483b
commit 7a98ed04d4
2 changed files with 42 additions and 10 deletions

View file

@ -0,0 +1,19 @@
#!/bin/bash
cd /sources
tar xf sysvinit-3.04.tar.xz
cd sysvinit-3.04
patch -Np1 -i ../sysvinit-3.04-consolidated-1.patch
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install
cd /sources
rm -rf sysvinit-3.04

View file

@ -1437,15 +1437,28 @@ if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.74-e2fsprogs.sh"
fi
# chapter8.75
# ===========
echo "Building sysklogd"
su -c "bash $SCRIPT/chapter8/8.75-sysklogd.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.75-sysklogd.sh"
fi
# chapter8.75
# ===========
echo "Building sysklogd"
su -c "bash $SCRIPT/chapter8/8.75-sysklogd.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.75-sysklogd.sh"
fi
# Chapter 8.76
# ============
echo "Building sysvinit"
su -c "bash $SCRIPT/chapter8/8.76-sysvinit.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.76-sysvinit.sh"
fi