HomeFreeBSD

loader: lua: test that /boot exists first

Description

loader: lua: test that /boot exists first

Otherwise on fs like tftp where no directory listing is possible we fail
on the .dir method.

Reviewed by: imp, kevans
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33414

Details

Provenance
manuAuthored on Dec 13 2021, 1:18 PM
Reviewer
imp
Differential Revision
D33414: loader: lua: test that /boot exists first
Parents
rG8ed8b4203a2f: loader: bcache: Fix debug printf
Branches
Unknown
Tags
Unknown