diskimage-builder/elements
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
..
base dkms is unavailable on RHEL and derivatives 2013-08-12 19:07:28 -07:00
cache-url Curl to redo the request (Found 302) 2013-07-09 11:22:51 +01:00
cloud-init-nocloud Make cloud-init-nocloud work cross-platform. 2013-07-11 08:21:51 -07:00
config-applier Fix URL to os-apply-config 2013-08-26 11:19:32 +01:00
deploy Add needed symlink for Fedora deployment ramdisk. 2013-07-26 11:09:29 -04:00
dhcp-all-interfaces Add element to run DHCP on all network interfaces. 2013-04-02 10:28:18 +01:00
dib-run-parts Add --list support to dib-run-parts. 2013-09-04 09:44:48 +01:00
disable-selinux/post-install.d Add disable-selinux element. 2013-06-14 09:39:07 +01:00
dkms dkms is unavailable on RHEL and derivatives 2013-08-12 19:07:28 -07:00
dpkg Merge "Adds support for post-install scripts." 2013-04-22 22:18:25 +00:00
dracut-network Install patch for dracut patching 2013-08-29 15:10:11 +12:00
fedora Install fedora grub from cached rpm during finalise 2013-09-15 09:11:58 +10:00
hwburnin Build ramdisks in an image chroot. 2013-07-12 11:09:35 +01:00
hwdiscovery Set file permission to be executable. 2013-08-20 08:44:43 +00:00
local-config Set correct mode for .ssh/authorized_keys files. 2013-05-24 12:01:57 +12:00
mellanox Build ramdisks in an image chroot. 2013-07-12 11:09:35 +01:00
pip-cache Add a pip-cache element. 2013-08-26 15:17:41 -04:00
pypi Fix pypi element README.md errors 2013-08-12 14:53:18 -07:00
ramdisk Build ramdisks in an image chroot. 2013-07-12 11:09:35 +01:00
rhel Add rhel installation element 2013-08-28 11:35:53 -04:00
rpm-distro Extracting common functionality for rpm based distros 2013-08-20 16:44:19 -04:00
selinux-permissive An element for putting SELinux in permissive mode 2013-05-14 11:56:28 +12:00
serial-console Add an element to configure a serial console. 2013-05-10 07:38:31 +12:00
source-repositories Add support for file to source-repositories 2013-09-04 10:16:49 +12:00
ubuntu dkms is unavailable on RHEL and derivatives 2013-08-12 19:07:28 -07:00
vm Install fedora grub from cached rpm during finalise 2013-09-15 09:11:58 +10:00
yum Add yum element. 2013-08-14 18:26:51 -04:00