On Wed, 20 Aug 2025, bob prohaska wrote:

I've an old Pi2 v1.1 which has been tracking -current for some time.

uname -v reports
bob@www:/usr/src % uname -v
FreeBSD 15.0-PRERELEASE #100 main-325e0b4c1a68: Mon Aug 18 15:23:41 PDT 2025    
 [email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC
bob@www:/usr/src %

Can the older machine be persuaded to display the sequence number?
Obviously I could reinstall, but I'm curious to see how long the
original installation can last.

Thanks for reading,

bob prohaska

On the machine where you build your kernel for "www":

git -C /usr/src rev-parse --is-shallow-repository

If your repository is shallow, it will not get an "n" number.

Whether having this is worth extra gigabytes on disk (git counts the number
of commits "since the beginning"), it's up to you.

If you convert the repository to have all the commits, you need to rebuild the 
kernel.

Marcin

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to