diskimage-builder/elements/opensuse
Ralf Haferkamp f8a0715c56 Add zypper element
This provides some customizations for zypper based distributions (e.g.
openSUSE and SLES). It is heavily inspired by the yum element and sets up
zypper to cache downloaded package outside of the chroot so that they can be
reused to speed up subsequent builds.

Change-Id: I775c921ee19cf7d1180fb68c1b7857ea6245a77d
2013-12-11 17:09:24 +01:00
..
bin Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
extra-data.d Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
post-install.d Add support for building openSUSE images 2013-12-05 15:18:46 +01:00
pre-install.d Add support for building openSUSE images 2013-12-05 15:18:46 +01: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
README.md local-config: Configure proxy for zypper repos 2013-12-10 15:54:59 +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)
  • This element doesn't need half of the rpm-distro element's pre-install hooks. The exceptions are 01-install-bin, which has been copied to this element, and 01-override-zypp-arch (which is something that could probably be jammed into the base image...).