From owner-freebsd-current@freebsd.org Sun Jan 24 13:05:38 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 D97FF4FB947 for ; Sun, 24 Jan 2021 13:05:38 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNtXK2qhvz3GMl for ; Sun, 24 Jan 2021 13:05:37 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1l3f52-0002g0-NF; Sun, 24 Jan 2021 14:05:24 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1l3f52-0004th-MB; Sun, 24 Jan 2021 14:05:24 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (650894)] by runbox.com with http (RMM6); Sun, 24 Jan 2021 13:05:24 GMT From: "Jeffrey Bouquet" To: "Steve Kargl" CC: "Yasuhiro Kimura" , "freebsd-current" Subject: Re: Getting /usr/src to match specific git hash? Date: Sun, 24 Jan 2021 05:05:24 -0800 (PST) X-RMM-Aliasid: 650894 X-Mailer: RMM6 In-Reply-To: <20210124041403.GB73653@troutmask.apl.washington.edu> Message-Id: X-Rspamd-Queue-Id: 4DNtXK2qhvz3GMl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jbtakk@iherebuywisely.com has no SPF policy when checking 91.220.196.211) smtp.mailfrom=jbtakk@iherebuywisely.com X-Spamd-Result: default: False [-1.20 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[iherebuywisely.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.220.196.211:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[91.220.196.211:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from] 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: Sun, 24 Jan 2021 13:05:38 -0000 On Sat, 23 Jan 2021 20:14:03 -0800, Steve Kargl wrote: > 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 > >=20 > > > Suppose one has an empty /usr/src. > > >=20 > > > Suppose further that one had to re-install a 32-bit > > > i386-*-freebsd with the 24 Dec 2020 image available > > > from freebsd.org. > > >=20 > > > uname -a for the booted kernel shows > > >=20 > > > % 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 i= 386 > > >=20 > > > How does one use git to pull the exact sources that match > > > this specifc kernel? > >=20 > > cd /usr > > git clone https://git.freebsd.org/src.git > > cd src > > git checkout 3cc0c0d66a0 > >=20 >=20 > Thank you. >=20 > --=20 > Steve > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Can this be put in /usr/src/UPDATING with an explanation of precisely how e= ach of the git commands populates or repopulated the directories in /usr???=20