Building of a debian image with diskimage-builder fails

Bug #1384103 reported by Alessandro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Critical
Ghe Rivero

Bug Description

I tried to build a debian image with

disk-image-create -x -t raw -a amd64 -o /tmp/debian debian vm &> /tmp/LOG_debian

but it complained that DIB_ROOT_LABEL was undefined (unbound variable).

Adding

DIB_ROOT_LABEL=${DIB_ROOT_LABEL:-cloudimg-rootfs}

at the beginning of

debian/root.d/08-debootstrap

seemed to solve the issue.
Is this variable supposed to be defined somewhere else? The documentation did not shed light on this.

Apologies if this is a known problem, or if I missed a step in the process somehow.

Regards,

Alessandro

Ghe Rivero (ghe.rivero)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Ghe Rivero (ghe.rivero)
Revision history for this message
Ghe Rivero (ghe.rivero) wrote :
affects: tripleo → diskimage-builder
Changed in diskimage-builder:
status: Triaged → Fix Committed
Ghe Rivero (ghe.rivero)
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.