Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2021 05:05:24 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "Steve Kargl" <sgk@troutmask.apl.washington.edu>
Cc:        "Yasuhiro Kimura" <yasu@utahime.org>, "freebsd-current" <freebsd-current@freebsd.org>
Subject:   Re: Getting /usr/src to match specific git hash?
Message-ID:  <E1l3f52-0004th-MB@rmmprod05.runbox>
In-Reply-To: <20210124041403.GB73653@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 23 Jan 2021 20:14:03 -0800, Steve Kargl <sgk@troutmask.apl.washingt=
on.edu> wrote:

> On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote:
> > From: Steve Kargl <sgk@troutmask.apl.washington.edu>
> > 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1l3f52-0004th-MB>