[Bug 1490107] [NEW] rootfs contains all initramfs dependencies and tools

Oliver Grawert ogra at ubuntu.com
Sat Aug 29 07:53:20 UTC 2015


Public bug reported:

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.

** Affects: snappy
     Importance: Undecided
         Status: New

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
       Status: New

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