Install apparmor b/c Docker.io has undeclared dep

Docker has an undeclared dependency on apparmor for Ubuntu Trusty,
preventing the daemon from running and causing any -src jobs for IPA to
fail when using docker to build the package.

This should unbreak the IPA post job.

Change-Id: I938220739bb1deee9e79d43cc74a5d48e500b813
Closes-Bug: #1559383
This commit is contained in:
Jim Rollenhagen
2016-03-24 07:09:33 -07:00
parent 858c643777
commit 49d490e95b

View File

@@ -5,7 +5,9 @@
#
if [ -x "/usr/bin/apt-get" ]; then
sudo -E apt-get update
sudo -E apt-get install -y docker.io
# apparmor is an undeclared dependency for docker on ubuntu
# https://github.com/docker/docker/issues/9745
sudo -E apt-get install -y docker.io apparmor
elif [ -x "/usr/bin/yum" ]; then
sudo -E yum install -y docker-io gpg
else