FreeBSD Bugzilla – Attachment 195171 Details for
Bug 229770
loader.efi: 'rootdev' environment variable ignored
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for loader.efi 'rootdev' environment variable
devicename.c.diff (text/plain), 506 bytes, created by
Masachika ISHIZUKA
on 2018-07-16 12:40:37 UTC
(
hide
)
Description:
patch for loader.efi 'rootdev' environment variable
Filename:
MIME Type:
Creator:
Masachika ISHIZUKA
Created:
2018-07-16 12:40:37 UTC
Size:
506 bytes
patch
obsolete
>--- /usr/src/stand/efi/libefi/devicename.c.orig 2018-03-15 08:22:46.000000000 +0900 >+++ /usr/src/stand/efi/libefi/devicename.c 2018-07-16 20:08:44.607332000 +0900 >@@ -59,7 +59,7 @@ > * use the current device instead. > */ > if (devspec == NULL || *devspec == '/' || !strchr(devspec, ':')) { >- rv = efi_parsedev(dev, getenv("currdev"), NULL); >+ rv = efi_parsedev(dev, getenv("rootdev") ? getenv("rootdev") : getenv("currdev"), NULL); > if (rv == 0 && path != NULL) > *path = devspec; > return (rv);
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 229770
: 195171