aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_repobuild/Makefile
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-02-04 17:03:30 +0100
committerMichal Skalski <mskalski@mirantis.com>2016-02-05 00:23:10 +0100
commitf126512730bc9a6f434ac5b9f6395bfc4b5dc960 (patch)
tree766df9c33aedd51615e3f3c049ff1a28caf9dc3c /build/f_isoroot/f_repobuild/Makefile
parentf030a4a75714e11dceb9d8ed20295e323f47d8e8 (diff)
Don't download packages which are already on ISO
It is not necessary to create local mirrors with mos-ubuntu packages for our purpose. These packages are already included on ISO, we only need these from ubuntu upstream repositories. Change-Id: I26d88019981b32e7fdb69a0a608a910bbe4d623a Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'build/f_isoroot/f_repobuild/Makefile')
-rw-r--r--build/f_isoroot/f_repobuild/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
index 105efa3ce..27eb05eeb 100644
--- a/build/f_isoroot/f_repobuild/Makefile
+++ b/build/f_isoroot/f_repobuild/Makefile
@@ -30,11 +30,9 @@ nailgun:
sudo pip install ./fuel-mirror
sudo pip install ./fuel-mirror/contrib/fuel_mirror
./opnfv_mirror_conf.py
- sudo fuel-mirror --debug --config ./opnfv-config.yaml create --group mos ubuntu --pattern=ubuntu
+ sudo fuel-mirror --debug --config ./opnfv-config.yaml create --group ubuntu --pattern=ubuntu
sudo chmod -R 755 /var/www/nailgun
cp -Rp /var/www/nailgun .
- mv nailgun/mirrors$(MIRROR_MOS_UBUNTU_ROOT) nailgun/mirrors/mos-repos/ubuntu/$(MOS_VERSION)
- rmdir nailgun/mirrors/mos-repos/ubuntu/snapshots
if [ "$(UBUNTU_DIR)" != "/" ]; then \
mv nailgun/mirrors$(UBUNTU_DIR)/ubuntu nailgun/mirrors/ubuntu;\
rm -rf nailgun/mirrors/$(TMP_ROOT_DIR);\