[Bug 1490107] Re: rootfs contains all initramfs dependencies and tools

Mark Shuttleworth 1490107 at bugs.launchpad.net
Tue Sep 8 10:01:02 UTC 2015


Yes, initrd is clearly a function of the kernel snap not gadget / os snap.

Mark

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

Title:
  rootfs contains all initramfs dependencies and tools

Status in Snappy:
  New
Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  in the snappy world we do not create or update the initrd on the fly
  so neither the dependencies of initramfs-tools nor the scripts
  themselves are required to be installed inside the rootfs.

  due to the nature of our build process initramfs-tools and initramfs-tools-ubuntu-core get installed in the rootfs chroot before the chroot gets turned into a tarball. instead of doing it this way, initramfs-tools and all its dependencies should only be installed after tarball creation to run update-initramfs and create the initrd.img. 
  this way we would not have any of the dependencies inside the rootfs tarball. 
  implementing this setup will likely require some changes to seed management or the bootstrap process to not pull in initramfs-tools in the first place and additionally some scripting in the live-build/auto/build script in livecd-rootfs for the post processing and initrd generation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1490107/+subscriptions



More information about the foundations-bugs mailing list