fix for ~root being / and buggering up system with chroot -R

This commit is contained in:
Ben Gras 2005-06-07 13:33:57 +00:00
parent 0e2a7a9730
commit 4de736535c

View File

@ -20,4 +20,5 @@ install::
@echo "Making devices.."
cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null
@echo "Making user homedirs.."
for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done
for u in bin ast; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done
(cd ast && tar cf - .[a-z]* ) | (cd ~root && tar xf - )