This project is deprecated and is no longer being maintained.
Creates a virtual machine with YubiX installed, ready for distribution.
Dependencies
VM images are created by using vmbuilder under Ubuntu. You will need a
Ubuntu installation with the python-vm-builder package installed.
Running
To create the virtual machine image, run build-vm.sh as root.
Testing
To run the tests, run the /root/test/run-tests.sh script as the root user
on the virtual machine.
Race condition in vmbuilder
There is a known issue in vmbuilder which sometimes fails the build, printing an error: "/dev/mapper/loop0p1 does not exist".
To fix this you will need to make a modification int the following file: /usr/lib/python2.7/dist-packages/VMBuilder/disk.py (location may vary).
Find the map_partitions method and change the following row:
How to run vmbuilder with specific package versions -- to be able to reproduce builds later on. The build should then use the specified version of the yubix package, which could then depend on specific versions of the other packages.