Revert "linuxrc: add depmod call as workaround for missing modules.dep.bb"

This reverts commit ece907ea64.
master
Fabio Erculiani 12 years ago
parent 7ee24b6776
commit 39cb3a0a16

@ -109,22 +109,6 @@ plymouth_newroot() {
is_plymouth_started && "${PLYMOUTH_BIN}" --newroot="${1}" is_plymouth_started && "${PLYMOUTH_BIN}" --newroot="${1}"
} }
# 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
if [ -n "${DEBUG}" ]
then
depmod_args="-v"
elif [ -n "${QUIET}" ]; then
depmod_args="-q"
fi
depmod ${depmod_args}
}
modules_load() { modules_load() {
for module in $* for module in $*
do do

@ -310,13 +310,6 @@ mount_devfs
# Mount sysfs # Mount sysfs
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
# Setup hotplugging for firmware loading # Setup hotplugging for firmware loading
if is_udev if is_udev
then then

Loading…
Cancel
Save