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)
Mon, May 18, 4:52 AM
Unknown Object (File)
May 7 2026, 7:58 AM
Unknown Object (File)
May 7 2026, 4:41 AM
Unknown Object (File)
May 6 2026, 3:24 AM
Unknown Object (File)
May 4 2026, 2:23 PM
Unknown Object (File)
Apr 27 2026, 4:26 AM
Unknown Object (File)
Apr 21 2026, 12:55 AM
Unknown Object (File)
Apr 20 2026, 8:16 PM
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