Images for testing Manila (infrastructure project)
1c16a41181
We don't need the legacy and deprecated zuul-cloner approach if we rewrite the job in native zuulv3 style. Change-Id: Ifc6d592b8b7cf0e802ee11be837ebd4a3b55ea9b Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
---|---|---|
common-files | ||
conf | ||
doc | ||
patches | ||
playbooks/manila-test-image-build | ||
server-files | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
COPYING | ||
init-buildroot.sh | ||
make-bootable-disk.sh | ||
README | ||
run-buildroot.sh | ||
setup.cfg | ||
setup.py | ||
test-image.sh | ||
tox.ini |
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 == On Ubuntu: # To build sudo apt-get -y install curl unzip bc python quilt parted qemu-utils \ build-essential gcc-multilib # For test/dev sudo apt-get -y install bison flex texinfo gettext ncurses-dev sshpass \ qt-sdk qemu-kvm genisoimage On Fedora: # To build sudo dnf -y install curl unzip bc python quilt parted qemu-img gcc-c++ \ make glibc-devel.i686 # For test/dev sudo dnf -y install bison flex texinfo gettext ncurses-devel sshpass \ qt-devel qemu-kvm genisoimage == Building the images == To build both images run: ./run-buildroot.sh == Cleaning up == To nuke everything and start over: rm -rf buildroot output* overlay* sudo rm *.qcow2 == Detailed Docs == More detailed docs are available: * doc/building.txt - individual build steps * doc/configuring.txt - how to change the config * doc/testing.txt - how to test the images