initramfs-tools needs tighter busybox dependency
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-
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.