Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111101255
D33414.id100142.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
568 B
Referenced Files
None
Subscribers
None
D33414.id100142.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 10:47 AM (13 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16877383
Default Alt Text
D33414.id100142.diff (568 B)
Attached To
Mode
D33414: loader: lua: test that /boot exists first
Attached
Detach File
Event Timeline
Log In to Comment