freebsd-dev/release/tools
Glen Barber 1e7c1f1742 Initial rewrite to consolidate VM image build scripts into one.
There may be some very sharp edges here while refactoring.

 - Move amd64/mk-vmimage.sh -> scripts/mk-vmimage.sh.
 - Remove vm-base target from Makefile.vm.
 - In vm-image target, use getopts flags for argument passing.
 - Create tools/vmimage.subr, containing default and prototype
   for the following functions that are used to drive the build,
   run in this order:

   vm_install_base()
   vm_extra_install_base()
   vm_extra_install_packages()
   vm_extra_install_ports()
   vm_extra_enable_services()
   vm_extra_pre_umount()
   vm_create_disk()
   vm_extra_create_disk()

 - In tools/azure.conf, override:

   vm_extra_install_base()
   vm_extra_pre_umount()
   vm_extra_create_disk()

 - In tools/openstack.conf, override:

   vm_extra_install_base()
   vm_extra_pre_umount()

Sponsored by:	The FreeBSD Foundation
2014-11-05 13:22:19 +00:00
..
arm Merge r262907 from ^/projects/release-embedded: 2014-04-04 07:02:38 +00:00
azure.conf Initial rewrite to consolidate VM image build scripts into one. 2014-11-05 13:22:19 +00:00
openstack.conf Initial rewrite to consolidate VM image build scripts into one. 2014-11-05 13:22:19 +00:00
vmimage.subr Initial rewrite to consolidate VM image build scripts into one. 2014-11-05 13:22:19 +00:00