diskimage-builder/elements
Ben Nemec 0eccd2808c Allow source-repositories to be disabled completely
In our official image builds we are only allowed to use resources
that are "blessed" by the build system.  This means that external
things like git repos and tar files are not allowed.  Currently,
even in offline mode source-repositories expects those things to
be available in the cache, so we need a way to disable it entirely.

This change adds an environment variable NO_SOURCE_REPOSITORIES
that does so.  It can be set in an environment.d script so elements
that might rely on a source repository will know it's not available.
The 02-lsb script in redhat-common is one such example and is
updated to handle this case.

Change-Id: I0de63bee6ad79733d6711478c707a9b41593e85f
2014-10-15 12:24:50 -04:00
..
apt-conf set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
apt-preferences Create an element to allow using a dpkg manifest 2014-05-26 11:23:48 +01:00
apt-sources set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
architecture-emulation-binaries Provide ability to build images for other architectures 2014-09-16 22:50:17 +05:30
baremetal Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
base Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
cache-url Add unit test for cache-url 2014-09-30 16:39:21 -05:00
centos7 Merge "Change order for yum-repos file in centos7 element" 2014-09-23 11:52:45 +00:00
cleanup-kernel-initrd Fix capitalization of openSUSE 2014-09-02 17:55:28 +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 Allow custom rootfs labels 2014-09-26 17:44:08 -05: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 Revert "Remove the temporary deploy element after rename" 2014-08-20 19:37:13 +00:00
deploy-baremetal Use package-installs in more elements 2014-09-08 15:16:14 -04:00
deploy-ironic Add vmedia boot support for deploy-ironic element 2014-09-11 15:41:46 +05:30
deploy-kexec Use package-installs in more elements 2014-09-08 15:16:14 -04:00
dhcp-all-interfaces Formatting fixes for dhcp-all-interfaces 2014-08-14 16:32:50 -04:00
dib-run-parts/root.d Use dib-run-parts from dib-utils 2014-08-26 16:44:18 -05: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 Move dpkg manifest creation to finalise 2014-09-29 16:08:15 +01:00
dracut-network Use package-installs in more elements 2014-09-08 15:16:14 -04:00
element-manifest Add element-manifest 2014-09-02 19:34:25 -04:00
enable-serial-console Explicitly name element enable-serial-console 2014-06-16 09:23:07 -04:00
epel Ensure epel7 is installed only on rhel7/centos7 2014-10-02 12:14:25 +02:00
fedora Use package-installs in fedora 2014-08-14 21:18:19 -04:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery Use package-installs in more elements 2014-09-08 15:16:14 -04:00
ilo Add support for flashing ILO BMC's from ramdisks 2014-08-28 17:07:03 +01:00
local-config 4 spaces indent 2014-05-10 11:17:29 +02:00
manifests Run environment.d hook for manifests earlier 2014-09-11 21:09:13 -04: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 Merge "Fix openSUSE cloud image download and extraction" 2014-10-06 13:25:05 +00:00
package-installs package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
pip-cache Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
pkg-map Fix $DISTRO_NAME usage for centos7 element 2014-10-01 21:42:47 -04:00
pypi Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
ramdisk Refactor ramdisk element to allow alternate implementations 2014-09-26 00:13:55 -05:00
ramdisk-base Refactor ramdisk element to allow alternate implementations 2014-09-26 00:13:55 -05:00
redhat-common Allow source-repositories to be disabled completely 2014-10-15 12:24:50 -04:00
rhel Centralize handling of /lost+found 2014-08-04 11:48:21 +02:00
rhel7 Adds EPEL repo, cleans up rhel7 repos 2014-09-19 07:57:12 -04:00
rhel-common Install openstack-selinux on RHEL 2014-09-29 21:53:22 -07:00
rpm-distro Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
select-boot-kernel-initrd Add select-boot-kernel-initrd element 2014-06-25 21:23:19 +00:00
selinux-permissive add some missing \n at end of file 2014-05-06 13:43:53 +02:00
serial-console Explicitly name element enable-serial-console 2014-06-16 09:23:07 -04:00
source-repositories Allow source-repositories to be disabled completely 2014-10-15 12:24:50 -04:00
stable-interface-names Use package-installs in more elements 2014-09-08 15:16:14 -04:00
svc-map Fix $DISTRO_NAME usage for centos7 element 2014-10-01 21:42:47 -04:00
uboot Support for UBoot. 2014-07-25 11:14:37 +05:30
ubuntu Centralize handling of /lost+found 2014-08-04 11:48:21 +02:00
vm Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
yum Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
zypper Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00