It appears that the reason for lack of `/lib/modules` is the result of removal of the kernel image and modules happening in a slightly different order then typical. In the case of 20180911, the kernel image was removed first, then the kernel modules. This resulted in complete clean-up of `/lib/modules`. This order appears to be arbitrary and we just got lucky (or unlucky) this time.
We can make image build changes to ensure that `/lib/modules` is present in the bionic and xenial squashfs. However, is there a different solution we should be pursuing for cosmic that doesn't require this directory to be present?
Finally, what is the urgency of getting this issue resolved.
It appears that the reason for lack of `/lib/modules` is the result of removal of the kernel image and modules happening in a slightly different order then typical. In the case of 20180911, the kernel image was removed first, then the kernel modules. This resulted in complete clean-up of `/lib/modules`. This order appears to be arbitrary and we just got lucky (or unlucky) this time.
We can make image build changes to ensure that `/lib/modules` is present in the bionic and xenial squashfs. However, is there a different solution we should be pursuing for cosmic that doesn't require this directory to be present?
Finally, what is the urgency of getting this issue resolved.