TheRemote / Ubuntu-Server-raspi4-unofficial

Ubuntu Server 18.04.4 Raspberry Pi 4 Image + Build Script (unofficial)
https://jamesachambers.com/raspberry-pi-4-ubuntu-server-desktop-18-04-3-image-unofficial/
Apache License 2.0
536 stars 93 forks source link

Is zcat decompress doing anything?? #132

Closed jradxl closed 2 years ago

jradxl commented 3 years ago

I dont think this is doing anything but just copying file zcat -qf "$mntBoot/vmlinuz" > "$mntBoot/vmlinux"

I do a binary compare, and look at file size, and they are the same.

And the last post in this says decompressing isn't needed for Rp4

https://askubuntu.com/questions/1312054/best-way-to-manual-decompress-kernel-ubuntu

TheRemote commented 2 years ago

That is certainly possible. I think the reason I did this is that either the example I based this off was compressed or that the kernel could be compressed on certain flavors (Mate maybe?).

At any rate this could probably be tested and if still true eliminated for sure!