Repository navigation
Conversation
Author
|
Closing since it looks like 73c1ba0 was applied instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The FreeBSD port sets
TARGET_DIR_ETCto/usr/local/etc, so the OS module misses FreeBSD's/etc/os-releaseand returnsCould not detect OS. Fall back to the base system's release file on FreeBSD when the configured file did not provide an OS identity.Related issue
Closes #2759
Changes
TARGET_DIR_ETCfile's precedence and the explicit custom release path behavior.TARGET_DIR_ROOT, so alternate target roots remain supported.Validation
devbuild configured withTARGET_DIR_ETC=/usr/local/etc; the patched build reports FreeBSD 15.1-RELEASE-p7 in the OS JSON result./etc/os-release.ctest --test-dir /tmp/bsdrunner-fastfetch-build --output-on-failure: 21/21 tests passed.Checklist