diskimage-builder/elements/fedora
Steve Baker 9ba761ef27 Install fedora grub from cached rpm during finalise
When uninstalling grub2, leave all its dependencies
including grub2-tools installed to minimise the number of packages
which need to be installed in the finalise stage.

Since the yum cache is unmounted during finalise, installing
grub2 in finalise is slowed by re-populating the yum cache.

This change copies the grub2 rpm out of the yum cache so it can be installed
from file during finalise.

This should prevent disk becoming full during finalise on Fedora.

Closes-Bug: #1217185

Change-Id: If095adc4abb52a19a3aa0b1caebfb3e4d8f605ef
2013-09-15 09:11:58 +10:00
..
bin Add package mapping for default-jre 2013-09-10 20:01:21 -04:00
finalise.d Extracting common functionality for rpm based distros 2013-08-20 16:44:19 -04:00
install.d Install which on Fedora 2013-07-26 11:04:58 +01:00
pre-install.d Install fedora grub from cached rpm during finalise 2013-09-15 09:11:58 +10:00
root.d Remove -r option from kpartx for successful build 2013-09-12 17:56:30 -04:00
element-deps On Fedora, use Linux Foundation bzr lsb_release 2013-09-04 10:16:49 +12:00
README.md Migrate cloud image URL/Release options to DIB_. 2013-04-12 14:48:54 +01:00
source-repository-fedora On Fedora, use Linux Foundation bzr lsb_release 2013-09-04 10:16:49 +12:00

Use Fedora cloud images as the baseline for built disk images.

Overrides:

  • To use a non-default URL for downloading base Fedora cloud images, use the environment variable DIB_CLOUD_IMAGES
  • To download a non-default release of Fedora cloud images, use the environment variable DIB_RELEASE