diskimage-builder/diskimage_builder/elements
Zhiguo Deng 271dc36f33 Add zipl element as s390x architecture bootloader
s390x architecture uses zipl as bootloader. When used in combination
with the vm element it replaces the existing bootloader element.
It's mandatory for s390x vm images.

Use cases
---------

* Allow users to create s390x images that run on nova with s390x
  libvirt/kvm backend
* Building nodepool images for s390x third party CI

Supported Distros
-----------------
The following listing shows all Distros that officially support
s390x and how those Distros are supported in DIB with this patch.

* SLES - not supported (SLES is not supported in DIB)
* RHEL - not suppoprted (RHEL is not supported as KVM guest on s390x,
                         therefore there's no rhel7 qcow image for s390x available
                         like it is for other archictectures)
* Ubuntu - supported

Ubuntu images can for example be built using the following commands:

  $ disk-image-create ubuntu-minimal zipl vm
  $ disk-image-create ubuntu-minimal zipl
  $ disk-image-create ubuntu zipl vm

Testing
-------

Cross architecture building of s390x images is not supported so far.

The plan is to set up a ThirdParty CI that builds the image for s390x and
provides the logs.

Co-Authored-By: Andreas Scheuring <andreas.scheuring@de.ibm.com>
Co-Authored-By: Holger Smolinsky <holger@smolinski.name>
Co-Authored-By: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
Co-Authored-By: Arne Recknagel <arne.recknagel@hotmail.com>

Closes-Bug: #1730641

Change-Id: I576e7edda68da12e97c60af38f457915efe7b934
2017-11-07 17:19:27 +01:00
..
apt-conf Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-preferences Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-sources Use local mirror for ubuntu-minimal jobs 2017-06-21 12:01:31 +10:00
baremetal Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
base Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
bootloader Use [[ for =~ matches 2017-08-28 17:01:03 +10:00
cache-url Avoid hanging endlessly on unreachable cache urls 2017-06-28 22:14:55 +02:00
centos7 Remove DIB_[DISTRO]_DISTRIBUTION_MIRROR 2017-07-17 14:47:31 +10:00
centos-minimal Start at using CI mirrors for fedora/centos 2017-06-21 12:02:27 +10:00
cleanup-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
cloud-init-datasources Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
cloud-init-disable-resizefs Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init-nocloud Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
debian Clear up debian element documentation 2017-08-09 13:15:38 +10:00
debian-minimal Merge "Add netbase to ensure /etc/protocols is placed for debian" 2017-08-15 00:37:27 +00:00
debian-systemd Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debian-upstart Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debootstrap Merge "Replace architecture-emulation-binaries with qemu-debootstrap" 2017-07-17 05:36:09 +00:00
deploy-baremetal Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-kexec Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-targetcli Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-tgtadm Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
devuser Release 1.25.2 2017-02-02 11:20:00 +11:00
dhcp-all-interfaces Fix cylical systemd config for dhcp-all-interfaces 2017-08-25 15:51:23 +10:00
dib-init-system Fix dib-init-system for Debian Jessie and Debian Stretch 2017-03-11 14:04:13 +00:00
dib-python Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
dib-run-parts Trivial fix typos 2017-05-31 11:17:05 +07:00
disable-selinux/post-install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dkms Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
docker Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
dpkg fix readme.rst to reflect correct environment variable 2017-07-06 22:54:08 -04:00
dracut-network Remove dracut-network element 2017-05-31 08:36:56 +10:00
dracut-ramdisk Merge "Remove use of 'which'." 2017-06-11 09:30:34 +00:00
dracut-regenerate Merge "Add missing package dependency for yaml" 2017-09-15 13:52:35 +00:00
dynamic-login Release 1.25.2 2017-02-02 11:20:00 +11:00
element-manifest Release 1.24.0 2017-01-31 14:14:19 +11:00
enable-serial-console Release 1.25.2 2017-02-02 11:20:00 +11:00
epel Remove centos and rhel elements 2017-06-28 12:26:24 +10:00
fedora Merge "Create /etc/machine-id for fedora" 2017-09-15 04:05:51 +00:00
fedora-minimal Bump fedora/fedora-minimal DIB_RELEASE 26 2017-08-04 14:18:05 +10:00
gentoo Update Gentoo element for element changes 2017-10-08 12:02:46 -05:00
growroot Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
grub2 Fix #1627402: fix grub2 element for ubuntu xenial 2017-02-11 18:44:18 +00:00
hpdsa Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwburnin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwdiscovery Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ilo Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-bin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-static Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-types Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ironic-agent Move setfiles to outside chroot with runcon 2017-07-24 10:14:07 +10:00
iso Trivial fix typos 2017-05-31 11:17:05 +07:00
local-config Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
manifests Set manifest permissions in the image 2017-05-24 15:20:55 +10:00
mellanox Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
modprobe-blacklist Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
no-final-image Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
oat-client Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
openssh-server Update Gentoo element for element changes 2017-10-08 12:02:46 -05:00
openstack-ci-mirrors elements: openstack-ci-mirrors: Use openSUSE mirrors for gating jobs 2017-07-17 10:54:03 +01:00
opensuse Switch openSUSE to 42.3 by default 2017-07-26 08:56:02 +02:00
opensuse-minimal Switch openSUSE to 42.3 by default 2017-07-26 08:56:02 +02:00
package-installs Fix package-installs-v2 output 2017-04-07 13:48:53 +10:00
pip-and-virtualenv Force install during pip-and-virtualenv 2017-07-18 14:50:09 +10:00
pip-cache Release 1.25.2 2017-02-02 11:20:00 +11:00
pkg-map Trivial fix typos 2017-05-31 11:17:05 +07:00
posix Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
proliant-tools Release 1.27.0 2017-02-03 11:49:45 +11:00
pypi Release 1.27.0 2017-02-03 11:49:45 +11:00
python-brickclient Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ramdisk Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ramdisk-base Remove use of 'which'. 2017-05-19 12:43:36 -07:00
rax-nova-agent Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
redhat-common Remove nested quotes from TAROPTS 2017-09-01 17:29:15 -05:00
rhel7 Support for Cloud Images on ppc64le for rhel7 and centos7 2017-06-29 15:44:26 +10:00
rhel-common Remove ccache 2017-05-31 08:28:09 +10:00
rpm-distro Use SELinuxfs to check selinux status 2017-07-26 18:57:25 +02:00
runtime-ssh-host-keys Release 1.21.1 2017-02-02 20:36:23 +11:00
select-boot-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
selinux-permissive Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
simple-init Have simple-init enable network.service 2017-03-28 19:28:51 +11:00
source-repositories Trivial fix typos 2017-05-31 11:17:05 +07:00
stable-interface-names Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
svc-map Release 1.27.0 2017-02-03 11:49:45 +11:00
sysctl Release 1.25.2 2017-02-02 11:20:00 +11:00
uboot Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ubuntu Move image download tests to default skip 2017-06-23 10:58:47 +10:00
ubuntu-common Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ubuntu-core Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
ubuntu-minimal Add initramfs-tools for ubuntu-minimal 2017-09-21 10:42:11 +02:00
ubuntu-signed Use sphinx warning-is-error 2017-03-14 14:49:49 +11:00
vm Move ppc block-device default to right $ARCH 2017-06-07 13:30:38 +10:00
yum Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
yum-minimal Move selinux packages to redhat-common 2017-08-01 11:08:54 +10:00
zipl Add zipl element as s390x architecture bootloader 2017-11-07 17:19:27 +01:00
zypper zypper: Clean caches and don't cache packages locally 2017-07-23 17:24:24 +02:00
zypper-minimal elements: zypper-minimal: Install tar package 2017-07-25 16:27:25 +01:00