From owner-freebsd-questions@freebsd.org Sun Feb 7 12:11:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A17F5AA0642 for ; Sun, 7 Feb 2016 12:11:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C09D132D for ; Sun, 7 Feb 2016 12:11:54 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u17CBi7k056550 for ; Sun, 7 Feb 2016 23:11:45 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 7 Feb 2016 23:11:44 +1100 (EST) From: Ian Smith To: freebsd-questions@freebsd.org Subject: svn revision in uname Message-ID: <20160207223554.P51785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 12:11:55 -0000 Hi all, I've been using svnup for source updates for ages, and for my occasional use it works fine. However one thing you don't get is the svn revision shown in uname, eg % uname -vm FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 I know where to find it: smithi@x200:~ % ll -rt /var/tmp/svnup/ total 30400 -rw-r--r-- 1 root wheel 3736967 Apr 22 2014 stable.apr -rw-r--r-- 1 root wheel 3738448 Jun 25 2014 stable.jun -rw-r--r-- 1 root wheel 3738347 Jul 6 2014 release -rw-r--r-- 1 root wheel 7926790 Jan 23 2015 ports.first -rw-r--r-- 1 root wheel 7927003 Jan 23 2015 ports -rw-r--r-- 1 root wheel 3750256 Oct 10 16:43 stable smithi@x200:~ % head -1 /var/tmp/svnup/stable 289106 but I don't know where to poke it so build|install world|kernel find it? One of the reasons I prefer svnup on this very (64GB) space-constrained laptop is that it doesn't need svn's extra copy of the repository, but I'm happy to add a /usr/src/.svn dir with whatever is needed for this. Hoping the answer is not "the build needs svn installed to get that" :) cheers, Ian (please cc me, subscribed to the digest)