@@ -, +, @@ modules.dep.bb --- defaults/initrd.scripts | 11 +++++++++++ defaults/linuxrc | 7 +++++++ 2 files changed, 18 insertions(+) --- a/defaults/initrd.scripts +++ a/defaults/initrd.scripts @@ -2,6 +2,17 @@ . /etc/initrd.defaults +# We should ship the initramfs with modules.dep.bb +# But current busybox depmod has broken -b support +# so we can't do that at build time, unless we want +# to chroot into the initramfs root, which is much more +# fragile. See bug #472312 +busybox_depmod_workaround() { + local depmod_args + [ -n "${QUIET}" ] && depmod_args="-q" + depmod ${depmod_args} +} + modules_load() { for module in $* do --- a/defaults/linuxrc +++ a/defaults/linuxrc @@ -320,6 +320,13 @@ mount_devfs # Mount sysfs mount_sysfs +# We should ship the initramfs with modules.dep.bb +# But current busybox depmod has broken -b support +# so we can't do that at build time, unless we want +# to chroot into the initramfs root, which is much more +# fragile. See bug #472312 +busybox_depmod_workaround + # Initialize mdev good_msg 'Activating mdev' --