Could save some space by omitting /boot/vmlinuz from live filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CD Images |
Invalid
|
Wishlist
|
Unassigned | ||
Baltix |
New
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson |
Bug Description
currently /boot/vmlinuz* file inside filesystem.squashfs is (and should be) the same identifical file, which is on CD, look at /casper/vmlinuz file.
As vmlinuz file is going to be bigger and bigger in every new Linux kernel (currently about 2 Mb) I think it would be wise to remove /boot/vmlinuz* file before compressing filesystem.squashfs when building CD images (like /boot/initrd.img* is removed) and use only one file - /casper/vmlinuz
I understand, that /boot/vmlinuz* file is needed in installed system, but I think for ubiquity there is no difference from which location to copy this file...
Another solution would be create a symlink (which is named like original file /boot/vmlinuz-
If my suggested solutions aren't good enough for you I think we can find better solution, but waste about 2 Mb in CD isn't good, especially when these 2 Mb can't be compressed (linux images are already compressed)...
Changed in ubuntu-cdimage: | |
importance: | Undecided → Wishlist |
status: | Unconfirmed → Confirmed |
This can only be done with the addition of custom code in ubiquity to make sure that /boot/vmlinuz ends up on /target. I'm willing to consider it, although I'm concerned that this sort of hack is error-prone.