commit:     873239607ff9e3dabad29b5b6d3bb2a16e930849
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 18:09:30 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 18:10:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87323960

dev-util/catalyst: deps for building bootloader

allow catalyst on x86 and amd64 to build a bootloader from the host
instead of requiring a cdtar.  these changes are to make sure the needed
deps are in place to match the changes in catalyst

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/catalyst/catalyst-9999.ebuild | 8 ++++++--
 dev-util/catalyst/metadata.xml         | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-util/catalyst/catalyst-9999.ebuild 
b/dev-util/catalyst/catalyst-9999.ebuild
index c5635f4c74e..e3bf4c22c44 100644
--- a/dev-util/catalyst/catalyst-9999.ebuild
+++ b/dev-util/catalyst/catalyst-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,7 +25,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ccache doc kernel_linux"
+IUSE="ccache doc kernel_linux system-bootloader"
 
 DEPEND="
        app-text/asciidoc
@@ -44,6 +44,10 @@ RDEPEND="
        ccache? ( dev-util/ccache )
        kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
 "
+PDEPEND="system-bootloader? ( >=sys-apps/memtest86+-5.01-r4
+                               sys-boot/grub:2
+                               sys-boot/syslinux
+                               sys-boot/shim )"
 
 python_prepare_all() {
        python_setup

diff --git a/dev-util/catalyst/metadata.xml b/dev-util/catalyst/metadata.xml
index 6c4b9cdbcce..988e80de6cc 100644
--- a/dev-util/catalyst/metadata.xml
+++ b/dev-util/catalyst/metadata.xml
@@ -10,5 +10,6 @@
   </maintainer>
   <use>
     <flag name="ccache">Enables ccache support</flag>
+    <flag name="system-bootloader">Pulls in the depends needed to setup livecd 
bootloader from the host system rather than using a cdtar</flag>
   </use>
 </pkgmetadata>

Reply via email to