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

Alexander Sack asac at ubuntu.com
Tue Sep 8 08:55:56 UTC 2015


I suspect we might want to separate building kernal and building OS
snap; I guess initramfs would be built as part of kernel snap. at best
we would have a snapcraft plugin to build kernels and initrd and put
them into a snap.

Michael?

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