Add 8.60 - Build grub

This commit is contained in:
Aditya 2023-01-12 15:46:04 +05:30
parent 3cc7c2fdda
commit 2a878335ef
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#!/bin/bash
cd /sources
tar xf grub-2.06.tar.xz
cd grub-2.06
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-efiemu \
--disable-werror
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install
mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completi
cd /sources
rm -rf grub-2.06

View file

@ -1258,3 +1258,15 @@ then
stop_script "chapter8/8.59-groff.sh"
fi
# Chapter 8.60
# ============
echo "Building grub"
su -c "bash $SCRIPT/chapter8/8.60-bash.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.60-bash.sh"
fi