Mercurial > hg > aboriginal
changeset 249:c95713e54437
Another tweak to qemu-setup.sh
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 05 Nov 2007 03:46:54 -0600 |
parents | f32b23bbf83a |
children | cef5bbd777fa |
files | sources/native/setup.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/native/setup.sh Mon Nov 05 02:48:02 2007 -0600 +++ b/sources/native/setup.sh Mon Nov 05 03:46:54 2007 -0600 @@ -4,11 +4,12 @@ # Create some temporary directories at the root level mkdir -p /{proc,sys,etc} -ln -s /tools/bin /bin -ln -s /tools/lib /lib +[ ! -e /bin ] && ln -s /tools/bin /bin +[ ! -e /lib ] && ln -s /tools/lib /lib # Populate /dev mount -t sysfs /sys /sys +mount -t tmpfs /dev /dev mdev -s # Setup network for QEMU @@ -16,7 +17,7 @@ echo "nameserver 10.0.2.3" > /etc/resolv.conf ifconfig eth0 10.0.2.15 route add default gw 10.0.2.2 -rdate time-b.nist.gov +#rdate time-b.nist.gov exec /tools/bin/busybox ash