app-emulation/lxc: drop sys-process/criu dependency.
authorMatthias Maier <tamiko@gentoo.org>
Sat, 16 Dec 2017 00:21:54 +0000 (18:21 -0600)
committerMatthias Maier <tamiko@gentoo.org>
Sat, 16 Dec 2017 00:24:25 +0000 (18:24 -0600)
sys-process/criu is an optional runtime dependency. lxc itself only ever
calls the binary and queries relevant information at runtime. Thus
simply drop the dependency.

Added a readme entry to inform the user to install criu if needed.

Package-Manager: Portage-2.3.18, Repoman-2.3.6

app-emulation/lxc/lxc-2.0.9.ebuild

index 32cfa14111ec50672691f468cbe8419c02266eae..7d1ac9e2fcca72364b8ccd20246be7c0f9855693 100644 (file)
@@ -31,7 +31,6 @@ DEPEND="${RDEPEND}
        >=sys-kernel/linux-headers-3.2"
 
 RDEPEND="${RDEPEND}
-       sys-process/criu[selinux=]
        sys-apps/util-linux
        app-misc/pax-utils
        virtual/awk"
@@ -200,7 +199,10 @@ src_install() {
 
        Correspondingly, for systemd a service file lxc@.service is installed.
        Enable and start lxc@configname in order to start the container defined
-       in /etc/lxc/configname.conf."
+       in /etc/lxc/configname.conf.
+
+       If you want checkpoint/restore functionality, please install criu
+       (sys-process/criu)."
        DISABLE_AUTOFORMATTING=true
        readme.gentoo_create_doc
 }