Page MenuHomeFreeBSD

Use getlocalbase() in a few base system programs
ClosedPublic

Authored by se on Nov 16 2020, 11:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 10:37 AM
Unknown Object (File)
Jan 14 2024, 5:38 AM
Unknown Object (File)
Dec 21 2023, 3:08 PM
Unknown Object (File)
Dec 3 2023, 11:56 AM
Unknown Object (File)
Dec 3 2023, 11:56 AM
Unknown Object (File)
Dec 3 2023, 11:52 AM
Unknown Object (File)
Dec 3 2023, 11:51 AM
Unknown Object (File)
Dec 3 2023, 11:29 AM
Subscribers

Details

Reviewers
scottl
imp
bdrewery
bapt
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rS367816: Make use of the getlocalbase() function for run-time adjustment of the
Summary

These are programs that either used getenv("LOCALBASE") or had _PATH_LOCALBASE compiled in and which have been converted to use getlocalbase() instead.

Test Plan

Apply the patches in review D27236 and rebuild and install lib/libutil.

Verify that the programs included in this review can be built and that they continue to run.
Test with different values of the LOCALBASE environment variable and the user.localbase sysctl parameter to verify that the correct path is constructed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 34824

Event Timeline

se requested review of this revision.Nov 16 2020, 11:52 AM
se retitled this revision from Use getlocalbase() in a few base sysetm programs to Use getlocalbase() in a few base system programs.

Add another invocation of getlocalbase() instead of getenv("LOCALBASE") in usr.sbin/pkg

This revision was not accepted when it landed; it landed in state Needs Review.Nov 18 2020, 8:01 PM
This revision was automatically updated to reflect the committed changes.
Owners added a reviewer: Restricted Owners Package.Nov 18 2020, 8:01 PM