dracut-network element fails to build due to incorrect path for select-boot-kernel-initrd

Bug #1688546 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Undecided
Ian Wienand

Bug Description

Steps to reproduce:

disk-image-create \
  baremetal \
  dracut-network \
  fedora \
  -o broken.qcow2

Expected results:

Builds a fedora image with a dracut ramdisk with network modules.

Actual results:

Fails to build the image, gives the following error:

---8<---
dib-run-parts Fri May 5 12:42:55 UTC 2017 Running /tmp/in_target.d/finalise.d/98-regenerate-initramfs
/tmp/in_target.d/finalise.d/98-regenerate-initramfs: line 9: /bin/select-boot-kernel-initrd: No such file or directory
---8<---

Required fix:

Either use /usr/local/bin/select-boot-kernel-initrd or rely on PATH.

Mark Goddard (mgoddard)
Changed in diskimage-builder:
assignee: nobody → Mark Goddard (mgoddard)
status: New → Incomplete
status: Incomplete → In Progress
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/462929

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by Mark Goddard (<email address hidden>) on branch: master
Review: https://review.openstack.org/462929
Reason: Abandoning in favour of https://review.openstack.org/#/c/468930/.

Changed in diskimage-builder:
assignee: Mark Goddard (mgoddard) → Ian Wienand (iwienand)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/468930
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=54765fd2f43e43d5b2dc25e8b4cff598e9095327
Submitter: Jenkins
Branch: master

commit 54765fd2f43e43d5b2dc25e8b4cff598e9095327
Author: Mark Goddard <email address hidden>
Date: Mon May 29 18:55:53 2017 +0100

    Remove dracut-network element

    This element has not been functioning correctly for some time due to
    an incorrect path to select-boot-kernel-initrd (should be /usr/local/bin).

    The dracut-regenerate element can be used to regenerate dracut ramdisks
    and is more flexible than this element.

    Change-Id: I33d555ffd4a92b2948b2ea4a66b151f0422ccb8c
    Closes-Bug: #1688546

Changed in diskimage-builder:
status: In Progress → 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.