diskimage-builder/elements/opensuse
Ben Nemec f6ba2aeaf4 set -e all the things
Using set -e in all of our scripts will prevent some subtle bugs
from slipping in, and will allow us to enforce use of set -e with
tooling.

This change also adds -u and set -o pipefail in the less complex
scripts where it is unlikely to cause problems.  A follow-up change
will enable those options in the complex scripts so that if it
breaks something it can be reverted easily.

Change-Id: I0ad358ccb98da7277a0ee2e9ce8fda98438675eb
2014-04-25 17:38:51 -05:00
..
bin Explicitly use bash 2014-04-25 17:38:41 -05:00
extra-data.d Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
install.d Setup ccache symlinks on openSUSE 2014-01-21 22:01:17 +01:00
post-install.d Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
pre-install.d set -e all the things 2014-04-25 17:38:51 -05:00
root.d Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
element-deps Add zypper element 2013-12-11 17:09:24 +01:00
element-provides Use provides to note an element provides an OS 2014-04-10 14:42:04 +01:00
README.md opensuse: Update README.md 2013-12-11 15:17:08 +01:00

Use an openSUSE cloud image as the baseline for built disk images. The base image is located here:

http://download.opensuse.org/repositories/Cloud:/Images/images/

This image should currently be considered experimental. Right now, we've only got a 64 bit image, and no 32 bit image. But it's a start.

Notes:

  • The filename of the base image in the above repository is currently not stable (e.g. it includes a build number and image version). A fix for that will be rolled out to the repositories soon. A tempoary workaround to figure out the correct filename has been added to root.d/10-opensuse-cloud-image.
  • Building with DIB_EXTLINUX=1 doesn't work. It fails with: /tmp/in_target.d/finalise.d/51-bootloader: line 14: 16286 Segmentation fault extlinux --install /boot/syslinux (https://bugzilla.novell.com/show_bug.cgi?id=852856)