Page MenuHomeFreeBSD

D33414.id100142.diff
No OneTemporary

D33414.id100142.diff

diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -229,6 +229,13 @@
end
end
+ -- Do not attempt to autodetect if underlying filesystem
+ -- do not support directory listing (e.g. tftp, http)
+ if not lfs.attributes("/boot", "mode") then
+ autodetect = "no"
+ loader.setenv("kernels_autodetect", "NO")
+ end
+
-- Base whether we autodetect kernels or not on a loader.conf(5)
-- setting, kernels_autodetect. If it's set to 'yes', we'll add
-- any kernels we detect based on the criteria described.

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 26, 6:34 AM (8 m, 24 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32169688
Default Alt Text
D33414.id100142.diff (568 B)

Event Timeline