summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2019-03-24 22:31:14 +0000
committerAndrey Utkin <andrey_utkin@gentoo.org>2019-03-25 00:17:59 +0000
commit4b87c186402467d8741a937b1d947f2b3722ba8b (patch)
treeae30daacd7741cf25bacd7103cca21799b9f52bf /sys-kernel/raspberrypi-image
parentsys-kernel/raspberrypi-image: 9999: add logic for non-live releases (diff)
downloadgentoo-4b87c186402467d8741a937b1d947f2b3722ba8b.tar.gz
gentoo-4b87c186402467d8741a937b1d947f2b3722ba8b.tar.bz2
gentoo-4b87c186402467d8741a937b1d947f2b3722ba8b.zip
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@gentoo.org>
Diffstat (limited to 'sys-kernel/raspberrypi-image')
-rw-r--r--sys-kernel/raspberrypi-image/raspberrypi-image-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
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)"