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
1 On 1/7/19 2:11 PM, Oleh Kravchenko wrote:
2 > Hello Gentoo developers!
3 >
4 > I would like to do minimal changes in already existed ebuilds,
5 > but I don't want to create and modify copy of ebuild.
6 >
7 > Can we have in Gentoo Linux similar functionality like in Yocto?
8 > https://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#using-bbappend-files
9 >
10
11 You can use ebuild phase hooks [1] in your bashrcs [2].
12
13 [1]
14 https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-ebuild-phase-hooks
15 [2]
16 https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-locations
17
18 --
19 Thanks,
20 Zac