HomeFreeBSD

stand/lua: Try to load alternate kernels as directories first

Description

stand/lua: Try to load alternate kernels as directories first

This is the procedure that config.loadkernel tries to go through, but
reloading kernel config didn't use this function. Amend config.loadkernel to
take an optional other_kernel.

While here, be a little more verbose ("Trying to load kernel") so that it's
easy to follow where we've gone wrong.

Details

Provenance
kevansAuthored on
Parents
rS329431: stand/lua: Correct test sense, this should have been 'not nil'
Branches
Unknown
Tags
Unknown