Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.572 kb
#!/bin/sh
CWD=`pwd`
WORKDIR=sandbox
if ! [ -d ${CWD}/${WORKDIR}/dev ]; then
echo "You have no sandbox to play with yet. Run sudo ./build-release.sh first"
exit
fi
echo "Setting up environment.."
mount_mfs -o nosuid -s 32768 swap ${CWD}/${WORKDIR}/dev
cp -p ${CWD}/${WORKDIR}/dev-orig/MAKEDEV ${CWD}/${WORKDIR}/dev/MAKEDEV
cd ${CWD}/${WORKDIR}/dev
./MAKEDEV std
echo "Going into chroot to take a look.."
/usr/sbin/chroot ${CWD}/${WORKDIR} /bin/ksh
sleep 3
cd
rm -rf ${CWD}/${WORKDIR}/dev/*
umount ${CWD}/${WORKDIR}/dev
echo "We are no longer in chroot!"
exit
Jump to Line
Something went wrong with that request. Please try again.