mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 8.63 - Build kbd
This commit is contained in:
parent
b3d850e365
commit
315323b2cd
2 changed files with 47 additions and 4 deletions
31
scripts/chapter8/8.63-kbd.sh
Normal file
31
scripts/chapter8/8.63-kbd.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf kbd-2.5.1.tar.xz
|
||||
cd kbd-2.5.1
|
||||
|
||||
patch -Np1 -i ../kbd-2.5.1-backspace-1.patch
|
||||
|
||||
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
|
||||
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
|
||||
|
||||
./configure --prefix=/usr --disable-vlock
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make check
|
||||
|
||||
make install
|
||||
|
||||
cd /sources
|
||||
rm -rf kbd-2.5.1
|
|
@ -1273,24 +1273,36 @@ fi
|
|||
# Chapter 8.61
|
||||
# ============
|
||||
echo "Building gzip"
|
||||
su -c "bash $SCRIPT/chapte8/8.61-gzip.sh"
|
||||
su -c "bash $SCRIPT/chapter8/8.61-gzip.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapte8/8.61-gzip.sh"
|
||||
stop_script "chapter8/8.61-gzip.sh"
|
||||
fi
|
||||
|
||||
# Chapter 8.62
|
||||
# ============
|
||||
echo "Building iproute2"
|
||||
su -c "bash $SCRIPT/chapte8/8.62-iproute2.sh"
|
||||
su -c "bash $SCRIPT/chapter8/8.62-iproute2.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapte8/8.62-iproute2.sh"
|
||||
stop_script "chapter8/8.62-iproute2.sh"
|
||||
fi
|
||||
|
||||
# Chapter 8.63
|
||||
# ============
|
||||
echo "Building kbd"
|
||||
su -c "bash $SCRIPT/chapter8/8.63-kbd.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.63-kbd"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue