export UNIT_TEST = FALSE
export USE_MASTER = ""
export INTERACTIVE = TRUE
-export CENTDNLD = http://mirrors.cat.pdx.edu/centos/7.1.1503/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso
-export ISOSRC = file:$(shell pwd)/CentOS-7-x86_64-DVD-1503-01.iso
+export CENTDNLD = http://mirrors.cat.pdx.edu/centos/7.2.1511/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso
+export ISOSRC = file:$(shell pwd)/$(shell basename $(CENTDNLD))
export ISOCACHE = $(shell pwd)/$(shell basename $(ISOSRC))
export PRODNO = "OPNFV_BGS"
export REVSTATE = "0000"
#############################################################################
$(ISOCACHE):
- test -s $(ISOCACHE) || { wget -nv $(CENTDNLD) ; }
+ sh -c "test -s $(ISOCACHE) || { wget -nv $(CENTDNLD) ; }"
.PHONY: mount-centiso umount-centiso
mount-centiso: $(ISOCACHE)
@mkdir centos release
cd centos && bsdtar -xf ../$(shell basename $(ISOSRC))
# modify the installer iso's contents
+ @chmod -R u+w centos
@cp -f isolinux.cfg centos/isolinux/isolinux.cfg
@cp $(APEXRPMCOM) centos/Packages
@cp $(APEXRPMINS) centos/Packages