public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] How to amend Gentoo ebuilds?
@ 2019-01-07 22:11 Oleh Kravchenko
  2019-01-07 23:43 ` [gentoo-dev] " Zac Medico
  0 siblings, 1 reply; 2+ messages in thread
From: Oleh Kravchenko @ 2019-01-07 22:11 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 345 bytes --]

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

-- 
Best regards,
Oleh Kravchenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: How to amend Gentoo ebuilds?
  2019-01-07 22:11 [gentoo-dev] How to amend Gentoo ebuilds? Oleh Kravchenko
@ 2019-01-07 23:43 ` Zac Medico
  0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2019-01-07 23:43 UTC (permalink / raw
  To: gentoo-dev, 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-07 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-07 22:11 [gentoo-dev] How to amend Gentoo ebuilds? Oleh Kravchenko
2019-01-07 23:43 ` [gentoo-dev] " Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox