Getting /usr/src to match specific git hash?

Yasuhiro Kimura yasu at utahime.org
Sun Jan 24 19:15:42 UTC 2021


From: "Simon J. Gerraty" <sjg at juniper.net>
Subject: Re: Getting /usr/src to match specific git hash?
Date: Sun, 24 Jan 2021 10:05:38 -0800

> As others have  described,  you can clone and 'git checkout 3cc0c0d66a0'
> but that "-dirty" above implies the tree had changes, so you cannot
> reproduce "the exact sources".

There was bug in sys/conf/newvers.sh that reports the result of
dirtyness check in reverse. It was introduced at commit 029ca1842fa on
2002/12/17 and fixed at commit 17eba5e32a2 on 2020/12/23. And commit
3cc0c0d66a0 is between them. So in this case
"3cc0c0d66a0-c255241(main)-dirty" means there isn't any change in src
tree.

Just FYI.

---
Yasuhiro Kimura


More information about the freebsd-current mailing list