mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Create LFS dirs
This commit is contained in:
parent
5f4cc37502
commit
1420a8012b
1 changed files with 13 additions and 0 deletions
13
scripts/chapter4/4.2-create-dir.sh
Normal file
13
scripts/chapter4/4.2-create-dir.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin}
|
||||
|
||||
for i in bin lib sbin; do
|
||||
ln -sv usr/$i $LFS/$i
|
||||
done
|
||||
|
||||
case $(uname -m) in
|
||||
x86_64) mkdir -pv $LFS/lib64 ;;
|
||||
esac
|
||||
|
||||
mkdir -pv $LFS/tools
|
Loading…
Reference in a new issue