Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2021 09:10:15 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: How do I know if my 13-stable has security patches?
Message-ID:  <CAPyFy2CcTfF3nOVnZHSba_f2gvbzZERgr6C0bCx3oY0RwRogSw@mail.gmail.com>
In-Reply-To: <CAN6yY1tQCSxDt_HKdgA81sBN1AWBb_J-GuJYvKZRK0QtNMhWQA@mail.gmail.com>
References:  <CAN6yY1tTt%2BEn6hzMYrjm2fRkUPBAuN9t8%2BR27Z3To_sJRbfUVA@mail.gmail.com> <CAPyFy2Dg9dP5%2BCWvmUhf58b4KotqrtWRt%2BnrZjoiNnzY5mk-eg@mail.gmail.com> <CAN6yY1tQCSxDt_HKdgA81sBN1AWBb_J-GuJYvKZRK0QtNMhWQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Feb 2021 at 02:42, Kevin Oberman <rkoberman@gmail.com> wrote:
>
> Thanks, Ed, but where do I find this? uname -a" gives me stable/13-007101f87. For a while I was seeing a hyphenated number prefixed with a 'c' and I had assumed that that number was the sequence.

It is (was) - we changed from 'c' to avoid having it look like a hex value.

To generate (this part of) uname the build script runs:
        if [ "$($git_cmd rev-parse --is-shallow-repository)" = false ] ; then
                git_cnt=$($git_cmd rev-list --first-parent --count
HEAD 2>/dev/null)
                if [ -n "$git_cnt" ] ; then
                        git="n${git_cnt}-${git}"
                fi
        fi

Would you try running, at the top of your stable/13 src tree:
git rev-parse --is-shallow-repository
git rev-list --first-parent --count HEAD



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