suckless linux distro
git clone git://
Log | Files | Refs | Submodules | README | LICENSE

commit ee98cb0ff15b044896c8c05b49c6c94d69be6938
parent 004eb4bbb9022583351f297c82fe8da10fb85eca
Author: sin <>
Date:   Thu, 20 Feb 2014 13:26:33 +0000

Ensure that we can call prepare-root many times without scrabling the rootfs

Mprepare-root | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/prepare-root b/prepare-root @@ -2,11 +2,16 @@ mkdir -p $root cd $root mkdir -p boot bin dev emul etc home opt proc root share src sys tmp var mkdir -p dev/pts dev/shm opt/cross share/doc share/fonts/encodings share/man var/empty var/log var/run -ln -sf opt/cross/x86_64-linux-musl/x86_64-linux-musl/include include -ln -sf opt/cross/x86_64-linux-musl/x86_64-linux-musl/lib lib -ln -sf . usr -ln -sf bin sbin -ln -sf ../tmp var/tmp +rm -f include +ln -s opt/cross/x86_64-linux-musl/x86_64-linux-musl/include include +rm -f lib +ln -s opt/cross/x86_64-linux-musl/x86_64-linux-musl/lib lib +rm -f usr +ln -s . usr +rm -f sbin +ln -s bin sbin +rm -f var/tmp +ln -s ../tmp var/tmp chmod 1777 tmp chmod 700 root cd -