Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148015324
D45881.id140584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D45881.id140584.diff
View Options
diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua
--- a/stand/lua/cli.lua
+++ b/stand/lua/cli.lua
@@ -30,6 +30,18 @@
local cli = {}
+if not pager then
+ -- shim for the pager module that just doesn't do it.
+ -- XXX Remove after 12.2 goes EoL.... but not before 14.2
+ pager = {
+ open = function() end,
+ close = function() end,
+ output = function(str)
+ printc(str)
+ end,
+ }
+end
+
-- Internal function
-- Parses arguments to boot and returns two values: kernel_name, argstr
-- Defaults to nil and "" respectively.
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -536,6 +536,18 @@
end
end
+if not pager then
+ print("**********************************************************************")
+ print("**********************************************************************")
+ print("***** *****")
+ print("***** *****")
+ print("***** BOOT LOADER IS TOO OLD. PLEASE UPGRADE. *****")
+ print("***** *****")
+ print("***** *****")
+ print("**********************************************************************")
+ print("**********************************************************************")
+end
+
recordDefaults()
hook.register("config.reloaded", core.clearCachedKernels)
return core
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 5:09 AM (5 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29690311
Default Alt Text
D45881.id140584.diff (1 KB)
Attached To
Mode
D45881: Revert "loader/lua: Remove pager shim"
Attached
Detach File
Event Timeline
Log In to Comment