mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-25 13:12:54 +00:00
28 lines
395 B
Bash
28 lines
395 B
Bash
#!/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
|