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)
Sun, Oct 5, 10:17 AM
Unknown Object (File)
Thu, Sep 25, 7:39 PM
Unknown Object (File)
Fri, Sep 19, 11:39 PM
Unknown Object (File)
Jul 7 2025, 12:29 PM
Unknown Object (File)
Jun 23 2025, 3:16 PM
Unknown Object (File)
Jun 22 2025, 9:17 AM
Unknown Object (File)
Jun 21 2025, 2:54 AM
Unknown Object (File)
Jun 14 2025, 11:51 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