commit fe126ecb1c6808a46df3169acc1b9afb2e15d2eb
parent 7a553dfc04db435f8ce87f1781d68c6d7220697b
Author: sin <sin@2f30.org>
Date: Fri, 6 Sep 2013 10:08:58 +0100
Clean dir hierarchy
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/clean b/clean
@@ -1,3 +1,3 @@
#!/bin/sh
-rm -rf kernel root rootfs.img src cross
+rm -rf root src cross
diff --git a/stage0 b/stage0
@@ -6,12 +6,11 @@ root=$top/root
mirror=http://dl.2f30.org/morpheus-pkgs
export top root mirror
+./clean
# Create directory hierarchy
-rm -rf $root src cross
mkdir -p src cross
-mkdir -p $root/{bin,boot,dev,etc,svc,home,root,var,share,devel,sys,proc}
+mkdir -p $root/{bin,boot,dev,etc,home,root,var,share,sys,proc}
mkdir -p $root/dev/shm
-mkdir -p $root/devel/{include,lib,src}
mkdir -p $root/share/man
pushd $root/
ln -s /bin sbin