From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WBDaF/3P0l5RBwAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 21:28:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YIuDE/3P0l5lEQAA1q6Kng (envelope-from ) for ; Sat, 30 May 2020 21:28:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2247B9404DF for ; Sat, 30 May 2020 21:28:29 +0000 (UTC) Received: from localhost ([::1]:57824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf91o-0007Wz-3z for larch@yhetil.org; Sat, 30 May 2020 17:28:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf91b-0007Uj-4k for guix-devel@gnu.org; Sat, 30 May 2020 17:28:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44579) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf91a-0006yY-Jn; Sat, 30 May 2020 17:28:14 -0400 Received: from ti0006q161-2604.bb.online.no ([84.202.68.75]:53470 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jf91W-0002Fq-W0; Sat, 30 May 2020 17:28:11 -0400 From: Marius Bakke To: raingloom , guix-devel@gnu.org Subject: Re: Git repos with large submodules In-Reply-To: <20200525020403.56f16a38@riseup.net> References: <20200525020403.56f16a38@riseup.net> Date: Sat, 30 May 2020 23:28:08 +0200 Message-ID: <87zh9pw1sn.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: PlzIVZYz2kH1 --=-=-= Content-Type: text/plain raingloom writes: > Hey all! > > So, I recently gave a go to packaging EDK2 on my channel, and found out > that it requires several submodules, including OpenSSL, which take up > quite a bit of space and take way longer to download than necessary. > > Since I couldn't find a way to shallow-init the submodules, I added > them as separate origins and copied / symlinked them after the unpack > phase. That sounds like a decent workaround. Even better to symlink (package-source openssl) to use the OpenSSL sources from Guix. The ideal solution would of course be to provide OpenSSL as a regular input and make the build system use it, but that's not always feasible. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7Sz+gACgkQoqBt8qM6 VPpOMwf+O9MZIb/xf4SFQs1fn0mIJi+Sjmi4BkTctEiqhflkbdZCP077mD406gGP pMFZbCprbvv5hc20uWgkHwFiJWaaoIYdXwsEtjSeaTcdT6x8LznVlLjgwLbJ5gku g3De8dM3HmW67hG0iAbaTkakobIHIqcHohkuv/fOsnE3atTaMGUMmn4W6PzWeiwe JerEYiEdea7SZsfgU+VlgrGuLz21oo/T22Aatx1VVVcf6qGCc26rJ0uKSVenDZG/ O4suTsILhyP64Bvo61MdzbqYr1okpD1VA078DYX+Cnvyyy1clxkO+plfhfz5GXRm wFO1ueOiHhQE6e5Qn29B1d8NVxuilw== =MhOe -----END PGP SIGNATURE----- --=-=-=--