git: 8c78774107a7 - stable/15 - core.lua: follow symlinks when looking for bootable kernels
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jun 2026 23:50:12 UTC
The branch stable/15 has been updated by leres:
URL: https://cgit.FreeBSD.org/src/commit/?id=8c78774107a7f0434791efd3f99397cb5562a70d
commit 8c78774107a7f0434791efd3f99397cb5562a70d
Author: Craig Leres <leres@FreeBSD.org>
AuthorDate: 2026-03-09 21:47:10 +0000
Commit: Craig Leres <leres@FreeBSD.org>
CommitDate: 2026-06-16 23:49:30 +0000
core.lua: follow symlinks when looking for bootable kernels
PR: 293654
Reviewed by: kevans
Approved by: kevans
Differential Revision: https://reviews.freebsd.org/D55713
(cherry picked from commit e6d579be42550f366cc85188b15c6eb0cad27367)
---
stand/lua/core.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
index 687376cbc40f..89850b712b2a 100644
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -255,7 +255,7 @@ function core.kernelList()
end
if ftype then
- if ftype ~= lfs.DT_DIR then
+ if ftype ~= lfs.DT_DIR and ftype ~= (lfs.DT_LNK or 10) then
goto continue
end
elseif lfs.attributes(fname, "mode") ~= "directory" then