## Makefile for the Altix device drivers.##obj-$(CONFIG_SGI_IOC3)+= ioc3.o
016 Dan Radez (Red Hat) and others.
## All rights reserved. This program and the accompanying materials# are made available under the terms of the Apache License, Version 2.0# which accompanies this distribution, and is available at# http://www.apache.org/licenses/LICENSE-2.0############################################################################### This script makes sure deploy deps are installed when not relying on RPMset -e
rdo_action="update"# check for rdo-releaseif ! rpm -q rdo-release > /dev/null;thenrdo_action="install"fi# make sure rdo releaseif ! sudo yum $rdo_action -y https://www.rdoproject.org/repos/rdo-release.rpm;thenecho"Failed to $rdo_action RDO Release package..."exit1fi# update ipxe-roms-qemuif ! sudo yum update -y ipxe-roms-qemu;thenecho"Failed to update ipxe-roms-qemu package..."exit1fi# check for other packagesfor i in epel-release python34-PyYAML openvswitch libguestfs \
libguestfs-tools-c libvirt-python python2-oslo-config \
python2-debtcollector python34-devel libxslt-devel \
libxml2-devel python-virtualbmc python34-jinja2 python34-pip \
rpm-build wget libvirt ntpdate;do# Make sure deploy deps are installedif ! rpm -q $i > /dev/null;thenif ! sudo yum install -y $i;thenecho"Failed to install $i package..."exit1fifidone# install pip dependencies
sudo pip3 install python-ipmi gitpython pygerrit2
# Required packages to redirect stdin with virt-customizeif ! sudo yum -y install libguestfs libguestfs-tools libguestfs-tools-c supermin supermin5 supermin-helper perl-Sys-Guestfs python-libguestfs;thenecho"Failed to install supermin/libguestfs packages..."exit1fi