[PATCH RFC] Drop release date from kexec-tools version output

Dave Young dyoung at redhat.com
Tue Aug 25 01:47:59 PDT 2015


On 08/24/15 at 03:59pm, Pratyush Anand wrote:
> On 24/08/2015:05:10:05 PM, Dave Young wrote:
> > kexec --version reports like below:
> > kexec-tools 2.0.7 released 05 February 2015
> > 
> > The date string is generated when one run bootstrap script, thus
> > it is more like a build date instead of release date.
> > Even for distribution like Fedora it will make more sense if it can
> > report something like "kexec-tools 2.0.7-1 released 05 February 2015"
> > 
> > In case building from git tree, the date cause more confusion.
> > So let's remove it from version string unless there is better idea
> > to resolve the issue.
> 
> May be we can take same approach what kernel build takes. Kernel build does not
> add build/release string. It just add date and time like "Mon Aug 10 23:38:23 UTC 2015".
> 
> $ uname -a
> Linux dhcppc13 4.1.5-200.fc22.x86_64 #1 SMP Mon Aug 10 23:38:23 UTC 2015 x86_64
> x86_64 x86_64 GNU/Linux
> 

Do you means drop "released" string only and keep the date? I'm also fine with
it, at lease less confusion to me.

Thanks
Dave



More information about the kexec mailing list