Image building support for fedora hosts
This patch makes the full_trusty_build.sh script to work on Fedora and install the dependencies needed to build the image. Change-Id: I13934f0d9967a1c692446ff0c0de037021caa461
This commit is contained in:
parent
25ff9fe09d
commit
6a8df9d1d6
@ -3,8 +3,15 @@
|
||||
# From a base-trusty node, this should build a CoreOS IPA image
|
||||
# suitable for use in testing or production.
|
||||
#
|
||||
sudo -E apt-get update
|
||||
sudo -E apt-get install -y docker.io
|
||||
if [ -x "/usr/bin/apt-get" ]; then
|
||||
sudo -E apt-get update
|
||||
sudo -E apt-get install -y docker.io
|
||||
elif [ -x "/usr/bin/yum" ]; then
|
||||
sudo -E yum install -y docker-io gpg
|
||||
else
|
||||
echo "No supported package manager installed on system. Supported: apt, yum"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
imagebuild/coreos/build_coreos_image.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user