From owner-freebsd-current@freebsd.org Mon Jan 25 22:57:16 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 123854F567D for ; Mon, 25 Jan 2021 22:57:16 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DPlcW23nXz3nL5 for ; Mon, 25 Jan 2021 22:57:15 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 46DDF5C018C for ; Mon, 25 Jan 2021 17:57:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 25 Jan 2021 17:57:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=dzW6+eNdxf9aXFFIN90AOS84lRO F2JnIMMKunbSdpWc=; b=OoXgRXwM0WMzQQS2BbiLogv7U+KKKNN5a76HCkdhqHW 2+0JiBDQjOq+dfh81r+2FJdH1Jyd2IxSvpEj84GEeVxE6NqSdIY8VGvDiv0usQrP hw4KOFTFaePgGgSFluSv9rtw/ZE2bXg5zJcwLrKqbcrr76yFyjaHScJTFOlzcnX7 5816XYtUTF1SjeMkp4Hei6C66ICHeYh3qmsQnAvMFQlGnCh468uaUZm0nTKOPjnU S0p32SjkkaylPou+KT/Gaa3F2yjl9YukK0YMFhpLGn6F6ZvsCHxV1hBomW8zo1Lq 6ssSYWxsNqjduy9FLBoRJqoX9TE9+Q/tAU3kH9HAuSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=dzW6+e Ndxf9aXFFIN90AOS84lROF2JnIMMKunbSdpWc=; b=byez4EgejUYpyd4QzSv9gm FUBZLdwSNpY3aI//W+IYACWCLq2I4aXx8TDK6hWWykcDb46YFglI9H+RPgvJEw/M GgG5ZX7xntCllOViwsawKU2FwcDxMmKalL+0DPD3ZpzLstKz/wPox2og2g7hEvOr RFIladIngLtfpT7OY01M3eOeciWMKltgZfd5Cd7dOArIaWMckKk5tVUT8SSPil23 MBeFNYtHZ0a5RrrC5a/I07ztuIILLgpVZxdEeTzzX2kir+dsQY50KQ6Po+srl+Bt dolC8aBabGQykbF50EW5XIC7Q4cSdIK/H3Af7MigLA466duxgEOm+Cj9aAR7qZYw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeggddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptedttdduuefggeeghfekkeetkeejle efffelheejfffgffdtfeeftdejgeeuieffnecuffhomhgrihhnpehfrhgvvggsshgurdho rhhgnecukfhppeekvddrjedtrdeluddruddtudenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgv th X-ME-Proxy: Received: from desktop (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id B1AA3240062 for ; Mon, 25 Jan 2021 17:57:13 -0500 (EST) Date: Mon, 25 Jan 2021 22:57:11 +0000 From: tech-lists To: freebsd-current@freebsd.org Subject: Re: Getting /usr/src to match specific git hash? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: <20210124035852.GA73653@troutmask.apl.washington.edu> <20210124.130805.532159532765637026.yasu@utahime.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="r/ZhGAND02hHtMOF" Content-Disposition: inline In-Reply-To: <20210124.130805.532159532765637026.yasu@utahime.org> X-Rspamd-Queue-Id: 4DPlcW23nXz3nL5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm1 header.b=OoXgRXwM; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=byez4Ege; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.28 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.28:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.28:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 22:57:16 -0000 --r/ZhGAND02hHtMOF Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: >From: Steve Kargl >Subject: Getting /usr/src to match specific git hash? >Date: Sat, 23 Jan 2021 19:58:52 -0800 > >> Suppose one has an empty /usr/src. >> >> Suppose further that one had to re-install a 32-bit >> i386-*-freebsd with the 24 Dec 2020 image available >> from freebsd.org. >> >> uname -a for the booted kernel shows >> >> % uname -a >> FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT #0 \ >> 3cc0c0d66a0-c255241(main)-dirty: Thu Dec 24 05:43:23 UTC 2020 \ >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386 >> >> How does one use git to pull the exact sources that match >> this specifc kernel? > >cd /usr >git clone https://git.freebsd.org/src.git >cd src >git checkout 3cc0c0d66a0 I have the exact same issue. The installation I have is: 13.0-CURRENT #0 2ed50808d2b-c254384(main): Thu Nov 12 10:03:35 UTC 2020 The method described doesn't work for me for some reason: [...] root@rpi4:/usr # git clone https://git.freebsd.org/src.git =20 Cloning into 'src'... remote: Enumerating objects: 377505, done. remote: Counting objects: 100% (377505/377505), done. remote: Compressing objects: 100% (26583/26583), done. remote: Total 3831969 (delta 371848), reused 350922 (delta 350922), pack-re= used 3454464 Receiving objects: 100% (3831969/3831969), 1.14 GiB | 6.28 MiB/s, done. Resolving deltas: 100% (3034679/3034679), done. Updating files: 100% (85162/85162), done. root@rpi4:/usr # cd src root@rpi4:/usr/src # git checkout 2ed50808d2b =20 error: pathspec '2ed50808d2b' did not match any file(s) known to git thanks, --=20 J. --r/ZhGAND02hHtMOF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmAPTL0ACgkQs8o7QhFz NAVnSxAAg3I5sS3aP9eLpvBLegdL1Ffh+x3kQTSJaxKwa6R8vnTnMdhRjQl5+K1J TAvgmtXGwBbFAIPYqZJ0BAYifhJwnK2R7/Hn39Edlz9rZScq7//Dv2pr9b7ZOtxJ gNyPtxeAfwr01vk86UECixgtl7GMMBRdXl4jUhWwoVG2eJh7fBXNl8fm1/GLVxpN l9ZkQY5Af3T08V0nNgUqooxlzTSIWR9pn3Jjcr0kxhYAZ1a6QZTrXODXNpoJGujl vv7Tl96OMMZjqvEaQH4DSJ8TBnLYUGZ8l/vsj0BhKsEQQOtrm43weMQoJnyWViZN oU8hS90kcCL7eKFygAg+/oi4gm7di+nr53O/NCyG7CJs+b7jzWsAEX7hV6hvQvyP NxcG0wEyryX8z99AaMedoXCF628qiyGB+rUfVX8HcmUsR6tAHxAv/H2Fcl9+Ou57 aVBqxDla3tXc6u0/Nm0O8DN4B8QJ2XFzIzu+0h1P/gEYDCyte7UW4hztU9qh9FDy KWr+0sMrJ1rOg+MCTyNoc8izl/EdyV2e07bTPY5IhTR3EDRsMKyt0O4jRxSLNCkV n5la3FJpEs9ggmu4kWN3laOrRqEUzJeDlqHTacMsxIqPVrhbszL/x2qIhTdMs9rN IDnViLFA0dFl8WPspxqAzLOwyNvU9H9p8rYx5e2AJcFuaqALjvg= =ikLn -----END PGP SIGNATURE----- --r/ZhGAND02hHtMOF--