[Bug 1778811] Re: live-build doesn't work with multi-part initrds

Ɓukasz Zemczak 1778811 at bugs.launchpad.net
Mon Mar 4 12:31:03 UTC 2019


** Also affects: live-build (Ubuntu Trusty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to live-build in Ubuntu.
https://bugs.launchpad.net/bugs/1778811

Title:
  live-build doesn't work with multi-part initrds

Status in live-build package in Ubuntu:
  Fix Released
Status in live-build source package in Trusty:
  New
Status in live-build source package in Xenial:
  Fix Released
Status in live-build source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  Due to attempts to treat initrds as single compressed files (both for
  recompression, and in the lesser-used codepath for hunting through the
  initrd to find a file), multi-part initrds cause live-build to fail.

  Proposed fix is to let initramfs-tools do the heavy lifting, by
  setting COMPRESS for generating initrds, and by using unmkinitramfs to
  unpack them and look around for stuff.

  [Test Case]

  A livefs build of a -proposed bionic image should generate a working
  initrd. To test this a new bionic build on cdimage should be started.
  The build should succeed and generate a working image.

  [Regression Potential]

  The initrds are empty right now so it can't get any worse than this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1778811/+subscriptions



More information about the foundations-bugs mailing list