Public bug reported:
I was playing with using the lxd image converted to squashfs as a root
filesystem to be booted on a real system (not in lxc or lxd).
I grabbed a kernel and initramfs from maas ephemeral images, and boot mostly
worked.
However, cloud-initramfs-copymods will not work if /lib/modules isn't present
in the image.
cloud-initramfs-copymods ensures that the modules in the initramfs are availble
after boot in /lib/modules/<kver>
It does this by creating a tmpfs mount over /lib/modules and moving the
initramfs /lib/modules to there.
However, to do that it needs the /lib/modules mount point to exist in
the read-only (at that point) root filesystem.
So, long story short, I'm asking for creation of an empty /lib/modules
directory in the lxd/lxc images.
** Affects: ubuntu
Importance: Medium
Status: Confirmed
** Tags: cloud-images cloud-images-build
** Tags added: cloud-images
** Changed in: ubuntu
Status: New => Confirmed
** Changed in: ubuntu
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501843
Title:
need /lib/modules dir in images (-root.tgz , -root.txz)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1501843/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs