git: 9front

Download patch

ref: cc9248125781aec42b53be82a5343d162b38ada7
parent: 00dbc3dd4f573a63185900f74cbd12cdac0b729a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 2 05:59:05 EST 2014

newuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home/bin/amd64

--- a/sys/lib/newuser
+++ b/sys/lib/newuser
@@ -8,7 +8,7 @@
 }
 cd $home
 x='$'
-mkdir bin bin/rc bin/mips bin/386 bin/power bin/arm
+mkdir bin bin/rc bin/mips bin/386 bin/amd64 bin/power bin/arm
 mkdir lib tmp
 chmod +t tmp
 bind -qc /n/other/usr/$user/tmp $home/tmp
@@ -17,8 +17,8 @@
 auth/cron -c
 
 cat > lib/profile <<!
-bind -a $x^home/bin/rc /bin
-bind -a $x^home/bin/$x^cputype /bin
+bind -qa $x^home/bin/rc /bin
+bind -qa $x^home/bin/$x^cputype /bin
 mount -qC /srv/boot /n/other other
 bind -qc /n/other/usr/$x^user/tmp $x^home/tmp
 bind -c $x^home/tmp /tmp
--