Codebase list mdadm / 074b9c8
Do not explicitly include /bin/rm in initramfs; /usr/bin/rm is already present. (See: #875918) Balint Reczey wrote [1]: I'm not sure how this change is expected to work. Rm is already present in the initramfs without mdadm: test@debian:~$ sudo unmkinitramfs /boot/initrd.img-5.10.0-3-amd64 initrd-unpacked [sudo] password for test: test@debian:~$ find initrd-unpacked/ -name rm initrd-unpacked/usr/bin/rm test@debian:~$ ls -alh initrd-unpacked-mdadm/bin lrwxrwxrwx 1 root root 7 Feb 9 20:27 initrd-unpacked-mdadm/bin -> usr/bin Perhaps it was needed for the upgrade path from stretch to jessie, since there was a reference to it in the original report. The statement to include the 'rm' executable is hereby removed. [1] https://salsa.debian.org/lechner/mdadm/-/commit/34300a61f788c17836346314b8654ab5475fbbb1#note_227125 Felix Lechner 3 years ago
1 changed file(s) with 0 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4848 # copy the binary as early as possible
4949 copy_exec /sbin/mdadm /sbin
5050 copy_exec /sbin/mdmon /sbin
51 copy_exec /bin/rm /bin
5251
5352 # Copy udev rules, which udev no longer does
5453 for UDEV_RULE in 63-md-raid-arrays.rules 64-md-raid-assembly.rules; do