lfs-scripts/scripts/chapter4/4.2-create-dir.sh
2023-01-06 10:24:36 +05:30

13 lines
198 B
Bash

#!/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