commit d240a4bf664a3f2d14c1801070ed56b7e2179abe
parent 039bd05b994ab9a2e2e0fa5496f861e7021dc8d4
Author: sin <sin@2f30.org>
Date: Fri, 20 Sep 2013 16:16:09 +0100
Fix dir hier
Diffstat:
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/prepare-env b/prepare-env
@@ -8,3 +8,5 @@ export top root nprocs mirror
PATH=$top/cross/bin:$PATH
export PATH
+
+mkdir -p $root
diff --git a/prepare-root b/prepare-root
@@ -1,8 +1,9 @@
-mkdir -p $root/{bin,boot,dev,etc,home,root,var,share,devel,tmp,sys,proc}
-mkdir -p $root/dev/shm
-mkdir -p $root/share/{doc,man}
-mkdir -p $root/var/run
cd $root
+mkdir -p boot bin dev devel etc home proc root share sys tmp var
+mkdir -p share/doc share/man var/empty var/log var/run
ln -s . usr
ln -s bin sbin
+ln -s ../tmp var/tmp
+chmod 1777 tmp
+chmod 700 root
cd -