diskimage-builder/elements
Michael Kerrin 730e7bd76e Handle extra spaces in merge-svc-map-files
During internal testing we are getting the following error from
merge-svc-map-files
File "/tmp/image.K2MYCphY/hooks/extra-data.d/10-merge-svc-map-files", line 54, in main
    with open(data_path, 'r') as dataFile:
IOError: [Errno 21] Is a directory: '...diskimage-builder/elements/svc-map'

Somehow IMAGE_ELEMENT contains a extra white space that manifests itself
as an element without a name. It is very hard to find where this is coming from so
instead this patch makes merge-svc-map-files more robost to this situation

Change-Id: Id1500ead8a77d691408617dcdc4e095bc5775be8
2014-10-20 18:16:39 +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
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 Remove first-boot.d support 2014-10-16 09:48:14 +00:00
cache-url Add unit test for cache-url 2014-09-30 16:39:21 -05:00
centos7 Merge "Consolidate lsb_release source-repositories" 2014-10-16 21:14:05 +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 Enable dracut deploy ramdisks 2014-10-17 21:44:09 -05:00
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
dracut-ramdisk Enable dracut deploy ramdisks 2014-10-17 21:44:09 -05: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 Check for epel before installing it 2014-10-09 13:00:12 -05:00
fedora Consolidate lsb_release source-repositories 2014-10-14 15:09:44 -05: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 Allow for multiple image outputs from raw source 2014-10-13 09:16:42 -07:00
ramdisk-base Refactor ramdisk element to allow alternate implementations 2014-09-26 00:13:55 -05:00
redhat-common Merge "Allow source-repositories to be disabled completely" 2014-10-20 11:35:40 +00:00
rhel Centralize handling of /lost+found 2014-08-04 11:48:21 +02:00
rhel7 Consolidate lsb_release source-repositories 2014-10-14 15:09:44 -05:00
rhel-common Install openstack-selinux on RHEL 2014-09-29 21:53:22 -07:00
rpm-distro Move install bin from rpm-distro to yum 2014-10-08 07:43:19 +00: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 Handle extra spaces in merge-svc-map-files 2014-10-20 18:16:39 +01:00
uboot Support for UBoot. 2014-07-25 11:14:37 +05:30
ubuntu Remove first-boot.d support 2014-10-16 09:48:14 +00:00
vm Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
yum Move install bin from rpm-distro to yum 2014-10-08 07:43:19 +00:00
zypper Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00