mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-22 15:22:56 +00:00
Add 8.70 - Build vim
This commit is contained in:
parent
419ceed744
commit
d462d32e92
2 changed files with 45 additions and 0 deletions
33
scripts/chapter8/8.70-eudev.sh
Normal file
33
scripts/chapter8/8.70-eudev.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf eudev-3.2.11.tar.gz
|
||||
cd eudev-3.2.11
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--bindir=/usr/sbin \
|
||||
--sysconfdir=/etc \
|
||||
--enable-manpages \
|
||||
--disable-static
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -pv /usr/lib/udev/rules.d
|
||||
mkdir -pv /etc/udev/rules.d
|
||||
|
||||
make check
|
||||
|
||||
make install
|
||||
|
||||
cd /sources
|
||||
rm -rf eudev-3.2.11
|
|
@ -1378,3 +1378,15 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Chapter 8.70
|
||||
# ============
|
||||
echo "Building eudev"
|
||||
su -c "bash $SCRIPT/chapter8/8.70-eudev.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.70-eudev.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue