diskimage-builder/elements
Alexis Lee 2f6fdb4142 Fix sourcing of environment files
Includes "Don't match editor backup files in environment" and "Order
execution of environment.d scripts". These had to be squashed because
the first change alone changes the order env.d scripts are sourced in.

The current glob match for environment files can source editor backup
files (foo.bash~) which will override the real changes you have made.
Other parts use the regex to avoid matching such files, so do
the same for environment file matching.  Note this has to match "."
unlike the other regex, as most env files are "foo.bash"

Also sort the files before sourcing them to ensure a reliable order.
This change should be in line with current expectations, given the
convention is to numerically prefix scripts in this directory.

Update of: I934486b3ff5884063d29c6d9b66fd9b11140464c
Subsumes: Icc509f695d7a15a8026d8c7e463f06acf65499d7
Change-Id: Ibfb562c5970b40598fc95da1e8d4beb9d51d7612
2014-07-23 17:18:28 +01: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
baremetal Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
base Merge "Use $DISTRO_NAME instead of local lsb_release" 2014-06-27 23:45:42 +00:00
cache-url Last ditch effort to correct a wrong shasum. 2014-07-05 12:06:28 -07:00
cleanup-kernel-initrd Element to remove unwanted kernel/initrd. 2014-06-20 20:57:33 +05:30
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 Fix sourcing of environment files 2014-07-23 17:18:28 +01: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 Correction: if then statement code style. 2014-07-07 03:43:15 -07:00
dracut-network Use common element select-boot-kernel-initrd 2014-06-26 10:19:09 +00: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 Avoid to install a blank list of packages 2014-07-04 07:39:08 +00: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 Merge "Add RHEL7 to Red Hat family in pkg-map" 2014-07-03 00:50:35 +00:00
pypi Always bind-mount pypi mirror if dir exists 2014-06-26 14:49:06 +12:00
ramdisk Optimizing directory creation. 2014-07-08 09:39:58 -07:00
redhat-common Correction: if then statement code style. 2014-07-07 03:43:15 -07:00
rhel Merge "Correction: if then statement code style." 2014-07-10 07:38:49 +00:00
rhel7 Name 10-rhel-cloud-image uniquely 2014-06-11 08:16:41 -04:00
rpm-distro Remove fixfiles from rpm-distro finalize 2014-07-03 11:47:10 +10: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 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 Really handle Ubuntu mirror cache skew, 2014-07-09 08:07:58 +12:00
vm VM element: Enable serial console on Debian 2014-06-25 14:13:49 +00:00
yum Yum: support pkg-map in bin/install-packages 2014-06-11 08:09:27 -04:00
zypper Ensure cache directory exists before use 2014-06-24 16:35:59 -07:00