live-build lacks EXT4 support for binary image types

Bug #803547 reported by Ben Howard
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
live-build
Fix Released
Unknown
live-build (Ubuntu)
Fix Released
High
Adam Conrad
Oneiric
Fix Released
High
Adam Conrad

Bug Description

live-build can build ext2 and ext3 binary image types, but does not have support for ext4. Since ext4 is used on our cloud images, we need to have ext4 support.

This affects the Oneiric version of live-build.

Patch that fixes this is attached.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: live-build 3.0

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your patch. Could you forward it to Debian? We're trying to get our live-build package in sync with Debian, and the maintainer there is typically responsive.

(When you forward the patch, I suggest leaving out the whitespace-only change to lb_binary_usb, fixing the spelling of LB_BINARY_FILESYSTEM in two places in lb_binary_virtual-hdd and removing the spurious '.' in the same file, and dropping the commenting-out of 'cp -af binary/.disk* binary.tmp' in lb_binary_virtual-hdd.)

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

I have a much more comprehensive patch that deals with building cloud images -- so lets drop this and I will work on getting the fine folks at Debian to accept the patches.

Changed in live-build (Ubuntu):
status: New → Invalid
assignee: nobody → Ben Howard (utlemming)
Revision history for this message
Jani Monoses (jani) wrote :

Ben, any progress on this? The ARM team could also use a live-build that knows about ext4.
thanks

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Yes, our code base for generating cloud images has EXT4 support -- check out http:://bazaar.launchpad.net/~ubuntu-on-ec2/~ubuntu-on-ec2/live-build/cloud-images/

The code needs a bit of work so that it can be merged back in. The big area of work that I've done is to add a "cloud" target that produces an image that is suitable for booting in the cloud. Ping me out-of-band if you have any questions.

Revision history for this message
Jani Monoses (jani) wrote :

Ben, aren't the ext4 -only bits that Colin commented above suitable for upstreaming independently of the rest of your work?

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

I didn't do anything more with the EXT4 patch, however, the patch with a little more cleanup is suitable for upstreaming. Our plan is to upstream the entire code base. The attached patch is a cleaned-up version of the original.

Changed in live-build:
status: Unknown → New
Changed in live-build:
status: New → Fix Committed
Jani Monoses (jani)
Changed in live-build (Ubuntu):
status: Invalid → Confirmed
Changed in live-build (Ubuntu):
importance: Undecided → Low
Jani Monoses (jani)
Changed in live-build (Ubuntu):
assignee: Ben Howard (utlemming) → Adam Conrad (adconrad)
Revision history for this message
Oliver Grawert (ogra) wrote :

Critical feature for ubuntu-arm, moving to high and milestoning to B2

Changed in live-build (Ubuntu):
importance: Low → High
Changed in live-build (Ubuntu Oneiric):
milestone: none → ubuntu-11.10-beta-2
Changed in live-build:
status: Fix Committed → Fix Released
tags: added: rls-mgr-o-tracking
Revision history for this message
Brian Murray (brian-murray) wrote :

The attachment live-build-ext4-1.patch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Jani Monoses (jani) wrote :

There is a new version with the functionality included in Debian experimental.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package live-build - 3.0~a24-1ubuntu15

---------------
live-build (3.0~a24-1ubuntu15) oneiric; urgency=low

  * Backport from upstream:
    - Add support for ext4 for binary and chroot filesystems (LP: #803547).
 -- Colin Watson <email address hidden> Mon, 19 Sep 2011 18:26:17 +0100

Changed in live-build (Ubuntu Oneiric):
status: Confirmed → 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.