Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 472312 | Differences between
and this patch

Collapse All | Expand All

(-)a/defaults/initrd.scripts (+16 lines)
Lines 2-7 Link Here
2
2
3
. /etc/initrd.defaults
3
. /etc/initrd.defaults
4
4
5
# We should ship the initramfs with modules.dep.bb
6
# But current busybox depmod has broken -b support
7
# so we can't do that at build time, unless we want
8
# to chroot into the initramfs root, which is much more
9
# fragile. See bug #472312
10
busybox_depmod_workaround() {
11
	local depmod_args
12
	if [ -n "${DEBUG}" ]
13
	then
14
		depmod_args="-v"
15
	elif [ -n "${QUIET}" ]; then
16
		depmod_args="-q"
17
	fi
18
	depmod ${depmod_args}
19
}
20
5
modules_load() {
21
modules_load() {
6
	for module in $*
22
	for module in $*
7
	do
23
	do
(-)a/defaults/linuxrc (-1 / +7 lines)
Lines 320-325 mount_devfs Link Here
320
# Mount sysfs
320
# Mount sysfs
321
mount_sysfs
321
mount_sysfs
322
322
323
# We should ship the initramfs with modules.dep.bb
324
# But current busybox depmod has broken -b support
325
# so we can't do that at build time, unless we want
326
# to chroot into the initramfs root, which is much more
327
# fragile. See bug #472312
328
busybox_depmod_workaround
329
323
# Initialize mdev
330
# Initialize mdev
324
good_msg 'Activating mdev'
331
good_msg 'Activating mdev'
325
332
326
- 

Return to bug 472312