Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4741

Raspberry Pi OS • How to remove extra architectures from updates?

$
0
0
Hey All,

I notice that the dist-updates on my various Raspberry Pi's are taking quite a while to finish now, and that they are building kernels for every architecture of Raspberry Pi OS as well. I think this started in Bookworm? I just want to use the architecture specific kernel for each of my Raspberry Pi's so as to reduce the "fluff", and speed up the update process - I have better things to do with my time than to wait for each of my 6 Raspberry Pi's on my LAN to complete an update - this now consumes over an hour a day if I update each separately, with necessary reboots for new kernels.

I found reference to this issue here: viewtopic.php?t=359506, and in the last post, the person posting says "You can make it faster, you just need to remove unneeded architectures w.r.t. your specific Pi and disable initramfs generation (assuming you don't rely on it for specific drivers/modules needed at boot)."

With that being said, which packages should I remove, and how do I disable initramfs generation, if necessary?

I read which hardware architectures use which kernels here: https://www.raspberrypi.com/documentati ... ernel.html, so I am of the impression that each of my Raspberry Pi 3 B+'s with 1 GB RAM each will be using the kernel7, my Raspberry Pi 4 with 4GB of RAM will use kernel8, and the Raspberry Pi 5's will use kernel_2712, so that gives me an idea of where to start with regard to which packages need removal, I just want to be sure that I am not removing necessary packages.

I have 3 Raspberry Pi 3 B+'s, 1 Raspberry Pi 4, and 2 Raspberry Pi 5'son my LAN currently. The Raspberry Pi 3 B+'s are stock, along with the Raspberry Pi 4, and my 2 Raspberry Pi 5's are running nvme HATs, so I'm pretty sure that they won't need initramfs generation disabled.

I hope I have provided the necessary facts here, and clearly stated what I want to accomplish, please let me know if I missed anything, or if more information is needed. If possible, just a list of packages to remove, and instructions on how to disable initramfs generation should suffice to answer my question. Sorry this is such a long post, just trying clearly communicate my issue, give accurate background information, and get a useful answer to my question.

Thank You in Advance for Helpful Advice. :-)

Statistics: Posted by mtinman — Sun Jun 02, 2024 2:15 am



Viewing all articles
Browse latest Browse all 4741

Trending Articles