Update bind-tools-21.tmpl to fix install error#434
Open
coffnix wants to merge 1 commit into
Open
Conversation
While testing bind-tools-9.21.23, I noticed the following QA warnings:
```
>>> Installing (1 of 1) net-dns/bind-tools-9.21.23::net-kit
* QA Notice: Symbolic link /usr/share/doc/bind-tools-9.21.23/ChangeLog points to /usr/share/doc/bind-tools-9.21.23/doc/arm/changelog.rst which does not exist.
* QA Notice: Symbolic link /usr/share/doc/bind-tools-9.21.23/NEWS points to /usr/share/doc/bind-tools-9.21.23/doc/arm/changelog.rst which does not exist.
```
To fix this, I updated src_install() to install the required documentation directories and recreated the ChangeLog and NEWS symbolic links so they point to the actual compressed documentation installed by Portage.
```
src_install() {
meson_src_install
rm -r "${D}"/usr/bin/{arpaname,named*,nsec3hash} || die
rm -r "${D}"/usr/sbin || die
dodoc -r doc/arm doc/changelog doc/notes
rm -f "${D}"/usr/share/doc/${PF}/{ChangeLog,NEWS} || die
dosym arm/changelog.rst.bz2 /usr/share/doc/${PF}/ChangeLog
dosym arm/changelog.rst.bz2 /usr/share/doc/${PF}/NEWS
}
```
This removes the QA warnings while keeping the documentation available and ensuring the symbolic links resolve correctly.
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.
While testing bind-tools-9.21.23, I noticed the following QA warnings:
To fix this, I updated src_install() to install the required documentation directories and recreated the ChangeLog and NEWS symbolic links so they point to the actual compressed documentation installed by Portage.
This removes the QA warnings while keeping the documentation available and ensuring the symbolic links resolve correctly.