fedora image build fails on installing package grub2

Bug #1287142 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
James Slagle

Bug Description

The build of fedora images fails in step finalise.d/51-bootloader when we try to install grub2:

rpm -i /tmp/grub/grub2-2.00-25.fc20.x86_64.rpm
 package grub2-1:2.00-25.fc20.x86_64 is already installed

The problem is in pre-install.d/15-fedora-remove-grub. We remove grub2 package but then we use 'install-packages -d grub2' option -d doesn't work. If you take a look on yum/bin/install-packages you'll see that we set variable EXTRA_ARGS="--downloadonly" then option -d is specified, but we don't use this variable when we execute command 'yum -y install $(map-packages $WHITELIST)'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77570

Changed in diskimage-builder:
assignee: nobody → Ivan Berezovskiy (iberezovskiy)
status: New → In Progress
Changed in diskimage-builder:
assignee: Ivan Berezovskiy (iberezovskiy) → Derek Higgins (derekh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/77184
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=30d1668c0318fd5f6147d3df6d7ecc883926a104
Submitter: Jenkins
Branch: master

commit 30d1668c0318fd5f6147d3df6d7ecc883926a104
Author: James Slagle <email address hidden>
Date: Fri Feb 28 09:37:07 2014 -0500

    Add $EXTRA_ARGS back to yum call

    This got removed accidentally in a recent consolidation of
    install-packages. Adding it back so that -d support works again.

    Closes-bug: #1287142

    Change-Id: If17e613bc9bc0f808517edfa1506858d3b9dce54

Changed in diskimage-builder:
status: In Progress → Fix Committed
Tomas Sedovic (tsedovic)
Changed in diskimage-builder:
importance: Undecided → High
Derek Higgins (derekh)
Changed in diskimage-builder:
assignee: Derek Higgins (derekh) → James Slagle (james-slagle)
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.