* [gentoo-user] How to only recompile git ebuild without fetching any sources? @ 2022-04-10 21:06 Dex Conner 2022-04-10 21:14 ` Marco Rebhan 0 siblings, 1 reply; 5+ messages in thread From: Dex Conner @ 2022-04-10 21:06 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 220 bytes --] Hi there, I have a 9999 ebuild with EGIT_REPO_URI option set and whenever I do emerge -av <package> it tries to fetch sources again. Is there a way for me to only recompile without any source update? Thank you -- Dex [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? 2022-04-10 21:06 [gentoo-user] How to only recompile git ebuild without fetching any sources? Dex Conner @ 2022-04-10 21:14 ` Marco Rebhan 2022-04-11 5:39 ` Dex Conner 0 siblings, 1 reply; 5+ messages in thread From: Marco Rebhan @ 2022-04-10 21:14 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 428 bytes --] On Sunday, 10 April 2022 23:06:52 CEST Dex Conner wrote: > I have a 9999 ebuild with EGIT_REPO_URI option set and whenever I do > emerge -av <package> it tries to fetch sources again. Is there a way > for me to only recompile without any source update? Hi Dex, Setting EVCS_OFFLINE=1 should work. There's some documentation on that variable here: https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html -Marco [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? 2022-04-10 21:14 ` Marco Rebhan @ 2022-04-11 5:39 ` Dex Conner 2022-04-11 7:53 ` Neil Bothwick 0 siblings, 1 reply; 5+ messages in thread From: Dex Conner @ 2022-04-11 5:39 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 647 bytes --] On 22/04/10 11:14PM, Marco Rebhan wrote: > On Sunday, 10 April 2022 23:06:52 CEST Dex Conner wrote: > > I have a 9999 ebuild with EGIT_REPO_URI option set and whenever I do > > emerge -av <package> it tries to fetch sources again. Is there a way > > for me to only recompile without any source update? > > Hi Dex, > > Setting EVCS_OFFLINE=1 should work. There's some documentation on that > variable here: > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html > > -Marco Thank you! Is there maybe a way to set this with emerge / something else on a case by case basis without editing the ebuild each time? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? 2022-04-11 5:39 ` Dex Conner @ 2022-04-11 7:53 ` Neil Bothwick 2022-04-11 8:49 ` Dex Conner 0 siblings, 1 reply; 5+ messages in thread From: Neil Bothwick @ 2022-04-11 7:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 761 bytes --] On Mon, 11 Apr 2022 08:39:39 +0300, Dex Conner wrote: > > Setting EVCS_OFFLINE=1 should work. There's some documentation on > > that variable here: > > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html > > > > -Marco > > Thank you! Is there maybe a way to set this with emerge / something > else on a case by case basis without editing the ebuild each time? You can set in on the command line: EVCS_OFFLINE=1 emerge -1a somepackage or you can set it, or any of portage's environment variables, on a per package basis in /etc/portage/package.env: https://wiki.gentoo.org/wiki//etc/portage/package.env -- Neil Bothwick To be sure of hitting the target, shoot first and call whatever you hit the target. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? 2022-04-11 7:53 ` Neil Bothwick @ 2022-04-11 8:49 ` Dex Conner 0 siblings, 0 replies; 5+ messages in thread From: Dex Conner @ 2022-04-11 8:49 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 947 bytes --] On 22/04/11 08:53AM, Neil Bothwick wrote: > On Mon, 11 Apr 2022 08:39:39 +0300, Dex Conner wrote: > > > > Setting EVCS_OFFLINE=1 should work. There's some documentation on > > > that variable here: > > > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html > > > > > > -Marco > > > > Thank you! Is there maybe a way to set this with emerge / something > > else on a case by case basis without editing the ebuild each time? > > You can set in on the command line: > > EVCS_OFFLINE=1 emerge -1a somepackage > > or you can set it, or any of portage's environment variables, on a per > package basis in /etc/portage/package.env: > > https://wiki.gentoo.org/wiki//etc/portage/package.env > > > -- > Neil Bothwick > > To be sure of hitting the target, shoot first and call whatever you hit > the target. For some reason I thought ebuild variables were not environment variables. Thank you!! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-04-11 8:49 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-04-10 21:06 [gentoo-user] How to only recompile git ebuild without fetching any sources? Dex Conner 2022-04-10 21:14 ` Marco Rebhan 2022-04-11 5:39 ` Dex Conner 2022-04-11 7:53 ` Neil Bothwick 2022-04-11 8:49 ` Dex Conner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox