02877d9af7
Fixes: MRN-947 Change-Id: I2f14b97232f0ad772a339cd7d0ebf25e831a76cf |
||
---|---|---|
.. | ||
share | ||
Makefile | ||
README.rst | ||
install-vm.sh |
README.rst
Image builder
Use the 'make' utility to start build new Windows image.
During build preparation this folder will be copied entirely to the /opt/image-builder folder. We refer to that folder using variable BUILD_ROOT.
Prerequisites
The following ISO files MUST be placed under $BUILD_ROOT/libvirt/images folder: * ws-2012-eval.iso - Windows installation ISO file. Must be renamed or simlinked. * virtio-win-0.1-52.iso - VirtIO drivers for Windows.
Files that MUST be placed under $BUILD_ROOT/share/files are described in README file under share/files subfolder.
Required steps
- Run make build-root to create directory structure. It will be built under '/opt/image-builder' folder, which is internally referred by BUILD_ROOT variable.
- Copy prerequisite files to their folders.
- Run make test-build-files to ensure that all files are in place.
- Run make to show available image targets.
- Run make <image target> to build image.
- Image file should be saved under $BUILD_ROOT/libvirt/images folder.
- Run make clean to remove files produced by this makefile only. NOTE: 'static files' (prerequisites) will be kept.
- Run make clean-all to run clean other files, that were prodiced by other makefiles.