commit:     4b87c186402467d8741a937b1d947f2b3722ba8b
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 22:31:14 2019 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 00:17:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b87c186

sys-kernel/raspberrypi-image: use shallow git clone

By default git-r3 eclass pulls full history of the master branch, which
is huge in case of this specific upstream repository.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild 
b/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild
index 47546b5babf..8eefabc8bf4 100644
--- a/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild
+++ b/sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild
@@ -14,6 +14,7 @@ RESTRICT="binchecks strip"
 if [[ "${PV}" == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/raspberrypi/firmware";
+       EGIT_CLONE_TYPE="shallow"
 else
        [[ "$(ver_cut 4)" == 'p' ]] || die "Unsupported version format, tweak 
the ebuild."
        MY_PV="1.$(ver_cut 5)"

Reply via email to