diskimage-builder/elements
Steve Baker e822a0ff5a Always bind-mount pypi mirror if dir exists
It may be desirable to specify file://tmp/pypi as one of the list
of mirrors specified by PYPI_MIRROR_URL, so the local pypi mirror
should be mounted as long as the directory exists.

Even though the path is mounted, it is only used by pip if there is
no specified PYPI_MIRROR_URL, or if one PYPI_MIRROR_URL entry
specifies file://tmp/pypi.

The pypi element previously assumed that a local mirror would be
a complete offline mirror. This change allows for a mixture of
local mirror plus remote mirrors. This means that the local
mirror could (for example) contain a few locally built pip packages
from arbitrary git checkouts for gate testing of those projects.
In this scenario, most packages would be downloaded from the
configured remote mirrors.

This change is required for synchronous gating on the os-*-config
tools.

Change-Id: I0f6d153c06993ffd0d90bd8ca1717462e8b6b541
2014-06-26 14:49:06 +12:00
..
apt-conf set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
apt-sources set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
baremetal Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
base 4 spaces indent 2014-05-10 11:17:29 +02:00
cache-url 4 spaces indent 2014-05-10 11:17:29 +02:00
cloud-init-datasources Do not use DatasourceNone for precise cloud-init 2014-06-16 10:58:39 -07:00
cloud-init-nocloud Add new cloud-init-datasources element 2014-05-29 21:54:59 -07:00
debian debian: fix network on Wheezy 2014-06-13 13:11:24 +02:00
debian-systemd set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
debian-upstart set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
deploy-baremetal Name deploy-ironic and deploy-baremetal files uniq 2014-06-11 08:16:41 -04:00
deploy-ironic Name deploy-ironic and deploy-baremetal files uniq 2014-06-11 08:16:41 -04:00
deploy-kexec add some missing \n at end of file 2014-05-06 13:43:53 +02:00
dhcp-all-interfaces 4 spaces indent 2014-05-10 11:17:29 +02:00
dib-run-parts Ensure dib-run-parts profiling works with py3 and py2 2014-06-06 18:37:39 +02:00
disable-selinux/post-install.d set -e all the things 2014-04-25 17:38:51 -05:00
dkms 4 spaces indent 2014-05-10 11:17:29 +02:00
dpkg Merge "dpkg: local cache for .deb files" 2014-06-19 19:46:46 +00:00
dracut-network 4 spaces indent 2014-05-10 11:17:29 +02:00
fedora Set DISTRO_NAME in OS environment.d 2014-05-28 12:22:02 -04:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
local-config 4 spaces indent 2014-05-10 11:17:29 +02:00
manifests set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
mellanox set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
modprobe-blacklist set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
opensuse Name 01-install-bin uniquely 2014-06-11 08:16:41 -04:00
package-installs Support declarative package installs/uninstalls 2014-05-01 08:47:14 -04:00
pip-cache set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
pkg-map Add pkg-map element. 2014-05-28 12:21:44 -04:00
pypi Always bind-mount pypi mirror if dir exists 2014-06-26 14:49:06 +12:00
ramdisk Merge "Add missing dollar" 2014-06-16 13:49:04 +00:00
redhat-common Merge "map-services: add openvswitch" 2014-06-23 16:00:54 +00:00
rhel Merge "Correct the wrong rename in rhel element" 2014-06-12 13:24:55 +00:00
rhel7 Name 10-rhel-cloud-image uniquely 2014-06-11 08:16:41 -04:00
rpm-distro Name 01-install-bin uniquely 2014-06-11 08:16:41 -04:00
selinux-permissive add some missing \n at end of file 2014-05-06 13:43:53 +02:00
serial-console set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
source-repositories Correct source-repository comments 2014-06-11 19:32:27 +12:00
stable-interface-names set -e all the things 2014-04-25 17:38:51 -05:00
ubuntu Drop ending slash from DIB_CLOUD_IMAGES 2014-06-23 16:22:51 +10:00
vm Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
yum Yum: support pkg-map in bin/install-packages 2014-06-11 08:09:27 -04:00
zypper set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00