mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-22 15:22:56 +00:00
Add 9.2 - Build LFS bootscripts
This commit is contained in:
parent
f8a9a306dc
commit
64fd4ec096
2 changed files with 23 additions and 0 deletions
10
scripts/chapter9/9.2-lfs-bootscripts.sh
Normal file
10
scripts/chapter9/9.2-lfs-bootscripts.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf lfs-bootscripts-20220723.tar.xz
|
||||
cd lfs-bootscripts-20220723
|
||||
|
||||
make install
|
||||
|
||||
cd /sources
|
||||
rm -rf lfs-bootscripts-20220723
|
|
@ -1486,3 +1486,16 @@ then
|
|||
stop_script "chapter8/8.79-cleanup.sh"
|
||||
fi
|
||||
|
||||
# Chapter 9.2
|
||||
# ===========
|
||||
echo "Chapter 9"
|
||||
echo "Installing LFS bootscripts"
|
||||
su -c "SCRIPT/chapter9/9.2-lfs-bootscripts.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter9/9.2-lfs-bootscripts.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue