Commit 7c792cae authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Update build documentation for Linux MFS

parent 45a1bb8d
This is the build tree for the Linux-based frisbee MFS. This is the build tree for the Linux-based Frisbee/admin/newnode MFS.
This can probably only be compiled on a Linux machine. This can probably only be compiled on a Linux machine.
To build the toolchain for the Linux MFS, do this ($ARCH is either COMPILING
i386 or x86_64): ---------
- Install the fakeroot package (
# cd testbed/mfs/linux_mfs - Edit the top-level Makefile and set the MFS_ARCH variable to i386 for
# scp ops:/share/linux/mfs/source tarballs a 32-bit build or x86_64 for a 64-bit build.
# tar xvjf tarballs/buildroot-20081211.tar.bz2 - Set TESTBED_PATH and TESTBEDOBJ_PATH in source/testbed/Makefile to
# cp source/buildroot/buildroot.config.$ARCH buildroot/.config the location of your Emulab source tree and your build tree
# cd buildroot respectively.
# make oldconfig - Download the source tarballs from ops via scp into a 'tarballs'
# make directory: 'scp ops:/share/linux/mfs/source tarballs'
- Run 'make' (or 'make toolchain' for the compiler and 'make initramfs'
Once that's done, edit testbed/mfs/linux_mfs/Makefile and set the ARCH for the kernel and initramfs).
variable appropriately, then run 'make initramfs'. If everything
works, the boot/ directory will have the kernel and initramfs.
The kernel is compiled but not installed anywhere. You'll have to pull
it out of the build tree for now.
Lots of small things. I've tested the tmcc and frisbee functionality of
the image, but it's not really automated yet. The necessary scripts are
all there, but not yet tested.
---- ----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment