[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887159: initramfs-tools can use busybox as complete replacement for klibc



Control: block -1 with 921556

Currently an initramfs built with both busybox and klibc-utils
installed has these executables in /bin from klibc-utils:

    chroot          losetup         pivot_root      run-init
    fstype          minips          poweroff
    halt            nfsmount        reboot
    ipconfig        nuke            resume

Several of these are already redundant with the busybox versions
installed in /sbin:

    chroot          losetup         poweroff
    halt            pivot_r
oot      reboot

The next upload of klibc will stop installing these commands when they
are redundant.

As Denys said, busybox 1.28.0 added replacements for some commands
which we can enable when we update the busybox package:

    ipconfig  [CONFIG_IPCONFIG]
    nuke      [CONFIG_NUKE]
    resume    [CONFIG_RESUME]
    run-init  [CONFIG_RUN_INIT]

I opened bug #921540 for the new upstream version and bug #921556 for
the configuration change.

That still leaves these without a drop-in replacement in busybox:

    fstype    might be replaceable with blkid
    minips    not needed by initramfs-tools, but used by live-boot
              because busybox ps does not support "h" or "-C" options
    nfsmount  should be replaceable with mount

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain.
                                                          - Lily Tomlin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: