Page MenuHomeFreeBSD

D60449.id189002.diff
No OneTemporary

D60449.id189002.diff

diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -1380,14 +1380,20 @@
*/
efiblk_memdisk_preload();
- devinit();
-
/*
* Parse command line arguments before any operation that may configure
* the network so DHCP overrides are available on the first attempt.
*/
howto = parse_args(argc, argv);
+ /*
+ * We want to initialize after giving loader args a chance to elect a
+ * different console than what we autodetect, but we need efinet to
+ * have initialized before netbooting an initmd has any chance of
+ * working.
+ */
+ devinit();
+
/*
* If we didn't find a ipxe image, and we're netbooting, try to
* download an initmd that the dhcp server tells us about.

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 10, 6:22 PM (52 m, 56 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40450115
Default Alt Text
D60449.id189002.diff (773 B)

Event Timeline