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

Collapse All | Expand All

(-)a/init.d/sysfs.in (-9 / +7 lines)
Lines 98-112 mount_misc() Link Here
98
		fi
98
		fi
99
	fi
99
	fi
100
100
101
	# setup up kernel support for efivarfs
101
	# set up kernel support for efivarfs
102
	# slightly complicated, as if it's build as a module but NOT yet loaded,
102
	if [ ! -d /sys/firmware/efi/efivars ] && modprobe -q efivarfs; then
103
	# it will NOT appear in /proc/filesystems yet
103
		ewarn "The efivarfs module needs to be configured in " \
104
	if [ -d /sys/firmware/efi/efivars ] \
104
			  "@SYSCONFDIR@/conf.d/modules or built in"
105
		&& ! mountinfo -q /sys/firmware/efi/efivars; then
105
	fi
106
		if modprobe -q efivarfs; then
106
	if [ -d /sys/firmware/efi/efivars ] &&
107
			ewarn "The efivarfs module needs to be configured in" \
107
		! mountinfo -q /sys/firmware/efi/efivars; then
108
				"@SYSCONFDIR@/conf.d/modules or built in"
109
		fi
110
		if grep -qs efivarfs /proc/filesystems; then
108
		if grep -qs efivarfs /proc/filesystems; then
111
			ebegin "Mounting efivarfs filesystem"
109
			ebegin "Mounting efivarfs filesystem"
112
			mount -n -t efivarfs -o ${sysfs_opts} \
110
			mount -n -t efivarfs -o ${sysfs_opts} \

Return to bug 595836