summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-11-17 14:22:42 -0500
committerDan Radez <dradez@redhat.com>2015-11-18 22:50:54 -0500
commite436659e8dfad7f42bf886aeba012b3e546f9e53 (patch)
treee3685b161596cc3c5a8de140d214ec9222878c20 /build/Makefile
parentb49a0d6835c6981b285c73c90c06f9743eea124c (diff)
updates and fixes to the iso build
- adding isohybrid so isos can be written to a USB - adding base group to yum comps file for iso install Change-Id: I3a8bda84b1a704f01e433f43533e63452f1a6e83
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 109521c6..1a99637e 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -148,10 +148,12 @@ iso: build-clean instack.qcow2 rpm $(ISOCACHE)
# modify the installer iso's contents
@cp -f isolinux.cfg centos/isolinux/isolinux.cfg
@cp $(APEXRPM) centos/Packages
+ cd centos/Packages && yumdownloader openvswitch
# regenerate yum repo data
@echo "Generating new yum metadata"
createrepo --update -g ../c7-opnfv-x86_64-comps.xml centos
# build the iso
@echo "Building OPNFV iso"
mkisofs -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -V "OPNFV CentOS 7 x86_64" -R -J -v -T -o $(NEWISO) centos
+ isohybrid $(NEWISO)
@printf "\n\nISO is built at $(NEWISO)\n\n"