Images for testing Manila (infrastructure project)
Go to file
Ben Swartzlander f3ba577269 Fix qcow building steps 2016-10-19 11:50:09 -04:00
common-files Initial commit 2016-10-19 11:36:17 -04:00
conf Initial commit 2016-10-19 11:36:17 -04:00
doc Initial commit 2016-10-19 11:36:17 -04:00
patches Initial commit 2016-10-19 11:36:17 -04:00
server-files/etc Initial commit 2016-10-19 11:36:17 -04:00
.gitignore Initial commit 2016-10-19 11:36:17 -04:00
COPYING Initial commit 2016-10-19 11:36:17 -04:00
README Initial commit 2016-10-19 11:36:17 -04:00
make-bootable-disk.sh Initial commit 2016-10-19 11:36:17 -04:00
run-buildroot.sh Fix qcow building steps 2016-10-19 11:50:09 -04:00

README

This project contains scripts and configs to create a small bootable
Linux image, primarily for the purposes of testing Manila.

It uses buildroot to do nearly all of the hard work.

The built Linux image is optimized for size, and targets the i386
platform under QEMU.

The following extra features are enabled:
* SSH server
* NFSv3/4 server
* NFSv3/4 client
* Samba4 Server
* CIFS client

== Dependencies needed to build ==

On Ubuntu:

 sudo apt-get -y install bison flex texinfo gettext ncurses-dev unzip \
     sshpass quilt qt-sdk qemu-kvm build-essential gcc-multilib

On Fedora:

 sudo dnf -y install bison flex texinfo gettext ncurses-devel unzip \
     sshpass quilt qt-devel qemu-kvm gcc-c++ make glibc-devel.i686

== Building the image ==

To make buildroot compile the system run:

 ./run-buildroot.sh

After buildroot succeeds, create the qcow2 file:

 ./make-bootable-disk.sh client

== Cleaning ==

To do a simple clean after changing some config options:

 cd buildroot
 make O=../output-client clean

To nuke everything and start over:

 rm -rf buildroot output* overlay*
 sudo rm *.qcow2