Re: [gentoo-dev] Re: minimalistic emerge

2014-08-09 Thread Ambroz Bizjak
Hey all. Regarding updates breaking the system, NixOS might be worth a try. The functional nature of the package manager there lets you try out an update, either live or in a VM, as well as roll back to the old configuration in case of problems. Due to the design there's no risk in building

Re: [gentoo-dev] OpenRC supporting systemd units

2013-05-08 Thread Ambroz Bizjak
Init.d scripts are programs - they could probably do just about anything. They couldn't monitor a process and restart it when it crashes, as specified by the restart options in the unit file. That is, without significant modifications in the way OpenRC works, such as adding a monitoring process,

[gentoo-portage-dev] [PATCH] Implement host dependencies and targetroot USE flag

2012-09-23 Thread Ambroz Bizjak
This patch implements host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot USE flag). See: https://bugs.gentoo.org/show_bug.cgi?id=317337 See: http://thread.gmane.org/gmane.linux.gentoo.devel/80315 This fuctionality is only enabled for EAPI=5-hdepend and should

[gentoo-portage-dev] [PATCH] Implement host dependencies and targetroot USE flag

2012-09-23 Thread Ambroz Bizjak
--- bin/ebuild.sh| 30 +++- pym/_emerge/depgraph.py | 55 +--- pym/_emerge/main.py | 1 - pym/portage/__init__.py | 4 +-- pym/portage/dbapi/bintree.py | 6 ++--

[gentoo-portage-dev] [PATCH] Implement host dependencies and targetroot USE flag

2012-09-23 Thread Ambroz Bizjak
Update: added eapi_has_hdepend() and eapi_has_targetroot() to pym/portage/eapi.py to reduce the number of times 5-hdepend appears in the code. bin/ebuild.sh| 30 ++- pym/_emerge/depgraph.py | 57 +---

[gentoo-portage-dev] [PATCH] Implement host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot flag).

2012-09-23 Thread Ambroz Bizjak
--- bin/ebuild.sh| 30 ++- pym/_emerge/depgraph.py | 57 +--- pym/_emerge/main.py | 1 - pym/portage/__init__.py | 4 +-- pym/portage/dbapi/bintree.py | 6 ++--

Re: [gentoo-dev] RFC: method of checking for cross compilation from ebuild functions

2012-09-22 Thread Ambroz Bizjak
and reduce the number of cases to be tested. On Fri, Sep 21, 2012 at 6:06 PM, Zac Medico zmed...@gentoo.org wrote: On 09/20/2012 10:34 AM, Ambroz Bizjak wrote: The question now is, how should this method for checking --crosscompile be implemented? In particular, we have two options: - Environment

[gentoo-dev] RFC: method of checking for cross compilation from ebuild functions

2012-09-22 Thread Ambroz Bizjak
name) would essentially be a superset of crosscompile, since crosscompile implies ROOT!=/. P.S. sorry Zac I sent you this twice, damn GMail :) On Sat, Sep 22, 2012 at 6:31 PM, Zac Medico zmed...@gentoo.org wrote: On 09/22/2012 09:08 AM, Ambroz Bizjak wrote: Yes, I think this is a good idea

Re: [gentoo-dev] RFC: method of checking for cross compilation from ebuild functions

2012-09-22 Thread Ambroz Bizjak
there, which is available via use sysroot) If all is well, I'll proceed to implement this. On Sat, Sep 22, 2012 at 7:01 PM, Zac Medico zmed...@gentoo.org wrote: On 09/22/2012 09:48 AM, Ambroz Bizjak wrote: Zac, I think you misunderstood me here. Crosscompile-only HDEPEND is definitely

[gentoo-dev] RFC: method of checking for cross compilation from ebuild functions

2012-09-20 Thread Ambroz Bizjak
I'm working on some EAPI extensions with the goal of making Portage more powerful for cross-compilation. See https://bugs.gentoo.org/show_bug.cgi?id=317337 Currently, it's come down to the following: - A new dependency type HDEPEND for packages which must be installed in / at build time. With