6d10bf5bb0
This ensures that the requirements.txt used for building images is kept in sync with global requirements.txt. Change-Id: Id474a8de4798ed4fbc56e7133073d8a674ec4f84
25 lines
643 B
Bash
Executable File
25 lines
643 B
Bash
Executable File
#!/bin/bash -xe
|
|
#
|
|
# This builds a CoreOS IPA image, assuming dependencies are installed
|
|
#
|
|
# The system this runs on needs these binaries available, most of which
|
|
# are installed by default on Ubuntu Trusty:
|
|
# - docker
|
|
# - gzip / gunzip
|
|
# - uuidgen
|
|
# - cpio
|
|
# - find (gnu)
|
|
# - grep
|
|
# - gpg (to validate key of downloaded CoreOS image)
|
|
#
|
|
# Alternatively, run full_trusty_build.bash which will install
|
|
# all requirements then perform the build.
|
|
|
|
if [[ -x /usr/bin/docker.io ]]; then
|
|
sudo -E ln -sf /usr/bin/docker.io /usr/local/bin/docker
|
|
fi
|
|
sudo -E pip install -r requirements.txt
|
|
cd imagebuild/coreos
|
|
sudo -E make clean
|
|
sudo -E make
|