Package: zfs-initramfs Version: 2.4.3-1 Severity: normal Tags: patch X-Debbugs-Cc: [email protected]
Dear Maintainer,
Ubuntu patches the busybox package to:
* add a busybox-initramfs binary package
* Prefer busybox cmds over klibc cmds where there is duplication
* Add static-sh alias name for ash (LP: #505887)
The busybox-initramfs package is smaller than the busybox package:
```
# ls -alh /usr/bin/busybox /usr/lib/initramfs-tools/bin/busybox
-rwxr-xr-x 1 root root 827K Jan 14 15:50 /usr/bin/busybox
-rwxr-xr-x 1 root root 323K Jan 14 15:50 /usr/lib/initramfs-tools/bin/busybox
# ldd /usr/bin/busybox
linux-vdso.so.1 (0x0000769a0daff000)
libresolv.so.2 => /usr/lib/x86_64-linux-gnu/libresolv.so.2
(0x0000769a0da12000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x0000769a0d7f1000)
/lib64/ld-linux-x86-64.so.2 (0x0000769a0db01000)
# ldd /usr/lib/initramfs-tools/bin/busybox
linux-vdso.so.1 (0x000073e539db4000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x000073e539b38000)
/lib64/ld-linux-x86-64.so.2 (0x000073e539db6000)
```
The size of busybox + glibc is a tiny fraction of Debian's initrd. The
main size comes from modules and firmware. These are significantly
larger than busybox. Therefore the busybox Debian maintainer does not
want to add a specific busybox build for initrds (see Debian #1135987).
Carrying this busybox delta in Ubuntu for the neglectable initrd size
difference is not worth the effort in 2026. So drop busybox-initramfs in
Ubuntu and make the initramfs-tools package simpler.
initramfs-tools recommends "busybox | busybox-static" on Debian and
Ubuntu now. So drop depending on busybox-initramfs and use the same
package order in Depends.
Git-formatted patch attached.
LP: #2157328
--
Benjamin Drung
Debian & Ubuntu Developer
0001-Drop-depending-on-busybox-initramfs.patch
Description: application/mbox

