repo/alnux/build
2021-08-27 13:31:22 +02:00

52 lines
781 B
Text
Executable file

mkdir -m 775\
$1/boot \
$1/dev \
$1/mnt \
$1/run \
$1/sbin \
$1/sys \
$1/usr \
$1/usr/bin \
$1/usr/lib \
$1/usr/share \
$1/usr/share/man \
$1/usr/share/man/man1 \
$1/usr/share/man/man2 \
$1/usr/share/man/man3 \
$1/usr/share/man/man4 \
$1/usr/share/man/man5 \
$1/usr/share/man/man6 \
$1/usr/share/man/man7 \
$1/usr/share/man/man8 \
$1/var/ \
$1/var/cache \
$1/var/log \
$1/var/log/old \
$1/var/lib \
$1/var/lib/misc \
$1/var/empty \
$1/var/service \
$1/var/spool \
$1/etc \
$1/etc/al
mkdir -m 555 \
$1/proc \
$1/sys
mkdir -m 0750 \
$1/root
mkdir -m 1777 \
$1/tmp \
$1/var/tmp \
ln -sf usr/bin $1/bin
ln -sf usr/bin $1/sbin
ln -sf bin $1/usr/sbin
ln -sf usr/lib $1/lib
ln -sf usr/lib $1/lib64
ln -sf lib $1/usr/lib64
ln -sf run $1/var/run