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
F145687410: D47532.id146581.diff
Mon, Feb 23, 3:27 AM
Unknown Object (File)
Sun, Feb 22, 6:17 PM
Unknown Object (File)
Sat, Feb 7, 7:44 PM
Unknown Object (File)
Sat, Feb 7, 7:14 PM
Unknown Object (File)
Sun, Feb 1, 8:59 AM
Unknown Object (File)
Fri, Jan 30, 8:33 PM
Unknown Object (File)
Dec 14 2025, 7:28 PM
Unknown Object (File)
Dec 12 2025, 3:03 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