HomeFreeBSD

userboot: support environment and symlinks in test application

Description

userboot: support environment and symlinks in test application

Pass the environment on to the loader.
Also define USERBOOT=1 in the environment varables.

Add support for symlinks in the test application open callback.

stat the root directory when opening file
Without this, running "ls" command on the root directory encounters
issues getting the directory listing.

Reviewed by: jhb
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D44625

Details

Provenance
stevekAuthored on Apr 30 2024, 8:40 PM
Reviewer
jhb
Differential Revision
D44625: userboot: support environment and symlinks in test application
Parents
rG2cb490901141: cons: Add boot option to mute boot messages after banner
Branches
Unknown
Tags
Unknown