The autopkgtest revealed that the busybox change breaks the initramfs-
tools test code (only test test code).

For initramfs-tools the included binaries will be different:

* usr/bin/mount will come from the mount package now (this breaks the 
autopkgtest)
* usr/bin/dd will come from busybox-static now
* chown, realpath, sha512sum, and timeout will be included from busybox-static 
(not included before in the test case shown below)

```
$ schroot-wrapper -p linux-image-generic,initramfs-tools,zstd -u root -c 
resolute
# ls -l /boot/initrd.img-*                
-rw-r--r-- 1 root root 77407060 Nov 18 18:20 /boot/initrd.img-7.0.0-44-generic
$ 3cpio -t /boot/initrd.img > after
$ apt install busybox-initramfs=1:1.37.0-7ubuntu1
# ls -l /boot/initrd.img-*
-rw-r--r-- 1 root root 77400954 Nov 18 18:21 /boot/initrd.img-7.0.0-44-generic
# 3cpio -t /boot/initrd.img > before
```

The initrd size increases by 6 kB or in other words 0.007 % (rounded
down to the nicer looking number).

** Also affects: initramfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150657

Title:
  Use busybox instead of rust-coreutils in initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/2150657/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to