1ec0125c68
Change-Id: If44101746da65fc6dc840b9c90eb533902baf523 |
||
---|---|---|
.. | ||
share | ||
Makefile | ||
README.rst | ||
dependency.list | ||
depmgr.sh | ||
install-vm.sh | ||
install.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.