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?
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
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?
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 98:56:45 |
Calls: | 6,767 |
Calls today: | 5 |
Files: | 12,295 |
Messages: | 5,376,400 |
Posted today: | 1 |