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)
Wed, Jan 15, 3:38 AM
Unknown Object (File)
Dec 7 2024, 6:06 PM
Unknown Object (File)
Dec 2 2024, 6:58 PM
Unknown Object (File)
Nov 26 2024, 9:29 AM
Unknown Object (File)
Nov 20 2024, 10:33 PM
Unknown Object (File)
Nov 20 2024, 1:02 AM
Unknown Object (File)
Nov 19 2024, 12:58 AM
Unknown Object (File)
Nov 16 2024, 8:46 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 Skipped
Unit
Tests Skipped