Il 17/05/24 20:41, Neil Bothwick ha scritto:
On Fri, 17 May 2024 20:17:14 +0200, Alarig Le Lay wrote:
I can edit the ebuild and then rebuild the manifest but on every
update I have to repeat.
Is there a way to patch an ebuild in a similar way we can patch
sources?
You can make an overlay and mask the pacakges from ::gentoo
No need to mask anything, just set the priority of your overlay higher
than that for gentoo. Otherwise you could end up not getting updates if
you don't check the gentoo repo regularly.
Creating the local overlay did not work, portage kept on pulling in the
original ebuilds (from a public overlay themselves). Then I found that
the modifications I needed could be done more simply via
/etc/portage/package.accept_keywords, but that did not work either. Then
I finally found that for my crossdev environment you need to edit
/usr/aarch64-unknown-linux-gnu/etc/portage/package.accept_keywords.
Probably the same holds for the local overlay but I have not verified yet.
thanks,
raf