Oliver: while this is true, I think it should indeed be a separate bug.
/lib/modules is significantly harder to do anything about in Ubiquity.
It would be possible, and merely fiddly rather than difficult, to "fill
in" parts of /lib/modules from the initramfs if they aren't in the live
filesystem. However, in order for this to do any good, you have to
remove the modules from the live filesystem as well. Now, what happens
if the modules in question don't get loaded by the initramfs for
whatever reason but are needed later on? You'd have to copy /lib/modules
from the initramfs to the unionfs as well, and that would take up a lot
of memory. Even if you copied only those modules that haven't been
loaded, that would cause reliability problems: unloading and then
reloading any module that had been loaded during the initramfs would
fail.

I think this might be tractable for specific devices, but so far I
haven't thought of a general-purpose way to exploit this duplication.

-- 
Could save some space by omitting /boot/vmlinuz from live filesystem
https://bugs.launchpad.net/bugs/80385
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to