repo/alnux/build
Ohio2 bf7a34f02a add some stock files and update curl, however;
we'll let the user configure those files.
2021-07-23 11:06:13 +02:00

51 lines
853 B
Text
Executable file

mkdir -p -m 775\
$1/dev \
$1/mnt \
$1/run \
$1/sbin \
$1/sys \
$1/bin \
$1/usr \
$1/usr/share \
$1/usr/share/man \
$1/usr/share/man1 \
$1/usr/share/man2 \
$1/usr/share/man3 \
$1/usr/share/man4 \
$1/usr/share/man5 \
$1/usr/share/man6 \
$1/usr/share/man7 \
$1/usr/share/man8 \
$1/lib \
$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
mkdir -m 555 -p \
$1/proc \
$1/sys
mkdir -m 0750 -p \
$1/root
mkdir -p -m 1777 \
$1/tmp \
$1/var/tmp \
ln -sf $1/usr/bin $1/bin
ln -sf $1/usr/bin $1/sbin
ln -sf $1/bin $1/usr/sbin
ln -sf $1/usr/lib $1/lib
ln -sf $1/usr/lib $1/lib64
ln -sf $1/lib $1/usr/lib64
ln -sf $1/spool/mail $1/var/mail
ln -sf $1/run $1/var/run
ln -sf $1/run/lock $1/var/lock
ln -sf $1/proc/self/mounts $1/etc/mtab