Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2025 15:44:31 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Steve Rikli <sr@genyosha.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: /usr/src and /usr/ports not git directories ?
Message-ID:  <Z4w835oJIhnuHrwc@www.zefox.net>
In-Reply-To: <Z4wPi8UsfO1Mxppv@dragon.home.genyosha.net>
References:  <Z4vk3009iSwuzG4K@www.zefox.net> <Z4wPi8UsfO1Mxppv@dragon.home.genyosha.net>

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

On Sat, Jan 18, 2025 at 12:31:07PM -0800, Steve Rikli wrote:
> On Sat, Jan 18, 2025 at 09:29:03AM -0800, bob prohaska wrote:
> > A fresh install of 
> > FreeBSD-15.0-CURRENT-amd64-20250102-3d0a0dda3a7d-274510-memstick.img
> > set up without much difficulty and Xorg seems to work out of the box
> > on my Lenovo t400s. Both src and ports directories were installed by
> > bsdinstall, but an attempt to run git pull in the src directory failed
> > with "not a git repository", even though .git entries are present.
> > 
> > The most visible problem is lack of a /usr/src/.git directory. Can
> > the existing src and ports directories be salvaged?
> 
> Not exactly answering the question you asked, but when I install FreeBSD
> I typicaly do not select src and ports, and instead do a git checkout
> of them afterwards.

Nor have I, in perhaps ten years. I just tried it for curiosity's
sake and was quite surprised at the failure. Perhaps the snapshot
process is the culprit, as compared to a release. 

Still, if anybody knows of a potential way to salvage the existing
src and ports I'd like to try, if only for my own edification.

Thanks for writing,

bob prohaska
 


home | help

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