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

Oliver Grawert ogra at ubuntu.com
Tue Sep 8 10:43:02 UTC 2015


for the phone we create a generic initrd.img directly from the
initramfs-tools-ubuntu-touch source package, since the initramfs-tools-
ubuntu-core package is directly based on the phone package just moving
over the build scripts would be easy enough ... this would completely
decouple the rootfs from the initrd (dropping the historically grown
initramfs-tools package installation inside the rootfs will be a bit
more work but bring a massive gain in rootfs size i guess)

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