Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 449152 Details for
Bug 595836
openrc-0.22 : modprobe -q efivarfs returns a warning when EFI is build in the kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-init.d-sysfs-fix-efivarfs-handling.patch
0001-init.d-sysfs-fix-efivarfs-handling.patch (text/plain), 1.61 KB, created by
William Hubbs
on 2016-10-04 17:11:31 UTC
(
hide
)
Description:
0001-init.d-sysfs-fix-efivarfs-handling.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2016-10-04 17:11:31 UTC
Size:
1.61 KB
patch
obsolete
>From 6a0c033a64ce18056625cd37a94b9810dc5784e3 Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Tue, 4 Oct 2016 11:51:24 -0500 >Subject: [PATCH] init.d/sysfs: fix efivarfs handling > >Separate loading the module, if it isn't built in or loaded, from >mounting the file system. > >This also makes sure the warning about configuring the module in >/etc/conf.d/modules or building it in is displayed only if it is loaded >successfully. > >X-Gentoo-Bug: 595836 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=595836 >--- > init.d/sysfs.in | 16 +++++++--------- > 1 file changed, 7 insertions(+), 9 deletions(-) > >diff --git a/init.d/sysfs.in b/init.d/sysfs.in >index b9478f8..acaae16 100644 >--- a/init.d/sysfs.in >+++ b/init.d/sysfs.in >@@ -98,15 +98,13 @@ mount_misc() > fi > fi > >- # setup up kernel support for efivarfs >- # slightly complicated, as if it's build as a module but NOT yet loaded, >- # it will NOT appear in /proc/filesystems yet >- if [ -d /sys/firmware/efi/efivars ] \ >- && ! mountinfo -q /sys/firmware/efi/efivars; then >- if modprobe -q efivarfs; then >- ewarn "The efivarfs module needs to be configured in" \ >- "@SYSCONFDIR@/conf.d/modules or built in" >- fi >+ # set up kernel support for efivarfs >+ if [ ! -d /sys/module/efivarfs ] && modprobe -q efivarfs; then >+ ewarn "The efivarfs module needs to be configured in " \ >+ "@SYSCONFDIR@/conf.d/modules or built in" >+ fi >+ if [ -d /sys/firmware/efi/efivars ] && >+ ! mountinfo -q /sys/firmware/efi/efivars; then > if grep -qs efivarfs /proc/filesystems; then > ebegin "Mounting efivarfs filesystem" > mount -n -t efivarfs -o ${sysfs_opts} \ >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 595836
: 449152 |
449162