Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109229732
D24115.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
708 B
Referenced Files
None
Subscribers
None
D24115.diff
View Options
Index: head/stand/lua/config.lua
===================================================================
--- head/stand/lua/config.lua
+++ head/stand/lua/config.lua
@@ -623,7 +623,7 @@
function config.loadelf()
local xen_kernel = loader.getenv('xen_kernel')
local kernel = config.kernel_selected or config.kernel_loaded
- local loaded, status
+ local status
if xen_kernel ~= nil then
print(MSG_XENKERNLOADING)
@@ -633,11 +633,10 @@
end
end
print(MSG_KERNLOADING)
- loaded = config.loadKernel(kernel)
-
- if not loaded then
+ if not config.loadKernel(kernel) then
return false
end
+ hook.runAll("kernel.loaded")
print(MSG_MODLOADING)
status = loadModule(modules, not config.verbose)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 8:43 AM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16429659
Default Alt Text
D24115.diff (708 B)
Attached To
Mode
D24115: loader: Add a "kernel.loaded" hook
Attached
Detach File
Event Timeline
Log In to Comment