# tagging this bug since it's specific to the version in unstable
tags 288150 +sid
thanks

FWIW, a dependency on busybox is neither necessary nor sufficient here,
because busybox will only be installed in the initrd by mkinitrd if
BUSYBOX=yes is set in /etc/mkinitrd/mkinitrd.conf.  You can't edit that
config file, so you'll need to cope with this limitation in your package.  I
think the best way to do this is precisely the one suggested by Paul in the
bug log, which is to copy /bin/sleep into the initrd if it's not already
installed there.  Also, busybox+libs is smaller than /bin/sleep+libs, so it
may make sense to Suggest: busybox and grab /bin/busybox instead of it's
available and not already installed in the initrd.

Depending on busybox is completely unnecessary for tools like mount, which
obviously has to be present in the initrd anyway to mount the rootfs.  I
don't see any other tools being invoked that you'll have to install in the
initrd yourself, but this bit in 01_udev could also lead to breakage:

#
# config files
#
if [ -d /etc/dev.d ]
then
        cp -a /etc/dev.d $INITRDDIR/etc/
fi

Since the files in this directory are shell scripts, they may have
dependencies on arbitrary files not installed in the initrd.  I'm not sure
if these scripts fail gracefully, or how much they're actually needed in the
initrd, but someone should probably verify this.

Cheers,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to