Page MenuHomeFreeBSD

nanobsd: Use the real path for NANO_PACKAGE_DIR
ClosedPublic

Authored by jlduran on Nov 12 2024, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 3, 9:28 AM
Unknown Object (File)
Thu, Apr 2, 10:33 AM
Unknown Object (File)
Fri, Mar 27, 7:27 PM
Unknown Object (File)
Wed, Mar 18, 1:42 AM
Unknown Object (File)
Mon, Mar 16, 7:56 AM
Unknown Object (File)
Mon, Mar 16, 1:56 AM
Unknown Object (File)
Feb 24 2026, 11:05 AM
Unknown Object (File)
Feb 23 2026, 3:27 AM
Subscribers
None

Details

Summary

As users may have the Pkg directory as a symbolic link to the NanoBSD
"package dump directory". In commit 9af130ae8c03, cust_pkgng() was
greatly improved, however as a side effect of using a nullfs mount, the
directories and files must not be symlinks.

Fix it by using NANO_PACKAGE_DIR realpath().

PR: 269884

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable