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

Ɓukasz Zemczak 1778811 at bugs.launchpad.net
Tue Jul 3 16:50:45 UTC 2018


For xenial - I see the xenial SRU of live-build doesn't add the
initramfs-tools dependency, is that not needed there? Or did that just
slip through the cracks?

** Description changed:

  [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.

-- 
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 Bionic:
  Fix Committed

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