From: Dan Radez Date: Fri, 3 Mar 2017 21:02:12 +0000 (-0500) Subject: Build cleanups X-Git-Tag: danube.1.0~40 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=83eee4e2361e3b97abc93e0a8bb203f6ba42ffa2;p=apex.git Build cleanups - moved patch files into patches dir - python-etcd is packaged upstream Change-Id: I2ad33460e1a8b3e57d30976d92c7423a30a68fc9 Signed-off-by: Dan Radez --- diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index 1e95b838..c4c31c8a 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -103,8 +103,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \ $dpdk_pkg_str \ --run-command "yum install --downloadonly --downloaddir=/root/fdio vpp vpp-devel vpp-lib vpp-api-python vpp-plugins" \ --upload ${BUILD_DIR}/noarch/$netvpp_pkg:/root/fdio \ + --run-command "yum install -y /root/fdio/*.rpm" \ --run-command "yum install -y etcd" \ - --run-command "pip install python-etcd" \ + --install python-etcd \ --run-command "puppet module install cristifalcas/etcd" \ --run-command "yum update -y puppet" \ --install "centos-release-qemu-ev" \ @@ -117,7 +118,6 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --install "python2-congressclient" \ --upload ${BUILD_DIR}/puppet-congress.tar.gz:/etc/puppet/modules/ \ --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \ - --run-command "yum install -y /root/fdio/*.rpm" \ --run-command "rm -f /etc/sysctl.d/80-vpp.conf" \ --install unzip \ --upload ${BUILD_DIR}/puppet-fdio.tar.gz:/etc/puppet/modules \ @@ -132,9 +132,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --install /root/$tackerclient_pkg \ --run-command "pip install python-senlinclient" \ --run-command "sed -i -E 's/timeout=[0-9]+/timeout=60/g' /usr/share/openstack-puppet/modules/rabbitmq/lib/puppet/provider/rabbitmqctl.rb" \ - --upload ${BUILD_ROOT}/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \ + --upload ${BUILD_ROOT}/patches/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \ --run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < neutron-patch-NSDriver.patch" \ - --upload ${BUILD_ROOT}/puppet-neutron-add-odl-settings.patch:/usr/share/openstack-puppet/modules/neutron/ \ + --upload ${BUILD_ROOT}/patches/puppet-neutron-add-odl-settings.patch:/usr/share/openstack-puppet/modules/neutron/ \ --run-command "cd /usr/share/openstack-puppet/modules/neutron && patch -p1 < puppet-neutron-add-odl-settings.patch" \ -a overcloud-full_build.qcow2 diff --git a/build/0001-Removes-doing-yum-update.patch b/build/patches/0001-Removes-doing-yum-update.patch similarity index 100% rename from build/0001-Removes-doing-yum-update.patch rename to build/patches/0001-Removes-doing-yum-update.patch diff --git a/build/neutron-patch-NSDriver.patch b/build/patches/neutron-patch-NSDriver.patch similarity index 100% rename from build/neutron-patch-NSDriver.patch rename to build/patches/neutron-patch-NSDriver.patch diff --git a/build/puppet-neutron-add-odl-settings.patch b/build/patches/puppet-neutron-add-odl-settings.patch similarity index 100% rename from build/puppet-neutron-add-odl-settings.patch rename to build/patches/puppet-neutron-add-odl-settings.patch diff --git a/build/undercloud.sh b/build/undercloud.sh index 9cfd936f..1101da87 100755 --- a/build/undercloud.sh +++ b/build/undercloud.sh @@ -59,7 +59,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --install "openstack-heat-engine" \ --install "openstack-heat-api-cfn" \ --install "openstack-heat-api" \ - --upload ${BUILD_ROOT}/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \ + --upload ${BUILD_ROOT}/patches/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \ --run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < 0001-Removes-doing-yum-update.patch" \ --root-password password:stack \ -a undercloud_build.qcow2