initramfs-tools needs tighter busybox dependency

Bug #2003911 reported by Nolan Eakins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

About a couple months ago on a fairly fresh 64 bit Raspbian install I added the armhf repository and installed the 32 bit libc to run 32 bit programs. This pulled in a 32 bit Busybox. I did not notice until I did an upgrade (Jan 2023) with a new kernel needing a new initramfs. I ran mkinitramfs like I've ione prior but the kernel would fail to use it.

Took awhile but I found out the initramfs that was generated had a 32 bit busybox with none of the linked libraries included. That's why it failed. initramfs-tools thought it would be happy with busybox:armhf.

I tried the busybox-static:aarch64 to many errors about run-init arguments. I finally tried building an initramfs while busybox:aarch64 was installed to much success.

My fix to all this would be explicitly making initramfs-tools depend on the busybox for the system's arch.

Apologies for the lack of logs. They were typical errors from Linux not having a root FS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.