mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-22 23:32:53 +00:00
Add 7.2 - change ownership to root
This commit is contained in:
parent
01e0770bbb
commit
c88a2e072b
2 changed files with 12 additions and 0 deletions
6
scripts/chapter7/7.2-change-ownership.sh
Normal file
6
scripts/chapter7/7.2-change-ownership.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
|
||||
case $(uname -m) in
|
||||
x86_64) chown -R root:root $LFS/lib64 ;;
|
||||
esac
|
|
@ -395,3 +395,9 @@ then
|
|||
stop_script "chapter6/6.18-gcc.sh"
|
||||
fi
|
||||
|
||||
# Chapter 7.2
|
||||
# ===========
|
||||
echo "Chapter 7"
|
||||
echo "Changing ownership to root"
|
||||
su -c "bash $PWD/chapter7/7.2-changing-ownership.sh"
|
||||
|
||||
|
|
Loading…
Reference in a new issue