everest-install-gnu/scripts/setup

18 lines
326 B
Plaintext
Raw Permalink Normal View History

2022-09-01 08:58:05 -04:00
#!/bin/sh
printf "[ i ] Creating directories...\n"
export EV=/mnt/everest
mkdir -pv $EV/{etc,var} $EV/usr/{bin,lib,sbin}
for i in bin lib sbin; do
ln -sv usr/$i $EV/$i
done
case $(uname -m) in
x86_64) mkdir -pv $EV/lib64 ;;
esac
mkdir -pv $EV/tools
mkdir $EV/installer
printf "[ i ] Downloading tarballs...\n"