sys-kernel/raspberrypi-image: use shallow git clone
authorAndrey Utkin <andrey_utkin@gentoo.org>
Sun, 24 Mar 2019 22:31:14 +0000 (22:31 +0000)
committerAndrey Utkin <andrey_utkin@gentoo.org>
Mon, 25 Mar 2019 00:17:59 +0000 (00:17 +0000)
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@gentoo.org>
sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild

index 47546b5babf34c8eec92d3a02c65a2ac45198161..8eefabc8bf42ddbf2917d8a02bf66183804685da 100644 (file)
@@ -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)"