Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o, Oleh Kravchenko <oleg@×××××××.ua>
Subject: [gentoo-dev] Re: How to amend Gentoo ebuilds?
Date: Mon, 07 Jan 2019 23:42:47
Message-Id: d6d65720-7002-1388-28c1-4df99b52c274@gentoo.org
In Reply to: [gentoo-dev] How to amend Gentoo ebuilds? by Oleh Kravchenko
On 1/7/19 2:11 PM, Oleh Kravchenko wrote:
> Hello Gentoo developers! > > I would like to do minimal changes in already existed ebuilds, > but I don't want to create and modify copy of ebuild. > > Can we have in Gentoo Linux similar functionality like in Yocto? > https://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#using-bbappend-files >
You can use ebuild phase hooks [1] in your bashrcs [2]. [1] https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-ebuild-phase-hooks [2] https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-locations -- Thanks, Zac