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