From nobody Sat Jan 18 23:44:31 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YbCqp1TV3z5l2qB for ; Sat, 18 Jan 2025 23:44:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YbCqn3ZYmz3W3N for ; Sat, 18 Jan 2025 23:44:21 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 50INiWnP092257 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 18 Jan 2025 15:44:32 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 50INiWlO092256; Sat, 18 Jan 2025 15:44:32 -0800 (PST) (envelope-from fbsd) Date: Sat, 18 Jan 2025 15:44:31 -0800 From: bob prohaska To: Steve Rikli Cc: freebsd-current@freebsd.org Subject: Re: /usr/src and /usr/ports not git directories ? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4YbCqn3ZYmz3W3N X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] 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