lfs-scripts/scripts/chapter4/4.2-create-dir.sh

14 lines
198 B
Bash
Raw Normal View History

2023-01-06 04:54:36 +00:00
#!/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