[#3869] version command info uclinux-dist is not exact if the tree has been svn updated
Submitted By: Mingquan Pan
2008-01-28 03:08:10 Close Date
Closed Fixed In Release:
Found In Release:
N/A Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: version command info uclinux-dist is not exact if the tree has been svn updated
version command info uclinux-dist is not exact if the tree has been svn updated. The shown svn number is of the time when checked out.
from the source:
test@linux:~/checkouts/uclinux-dist> svn info
Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a
Node Kind: directory
Last Changed Author: vapier
Last Changed Rev: 6092
Last Changed Date: 2008-01-28 00:25:11 +0800 (Mon, 28 Jan 2008)
Properties Last Updated: 2008-01-28 17:30:59 +0800 (Mon, 28 Jan 2008)
test@linux:~/checkouts/uclinux-dist> cd linux-2.6.x/
test@linux:~/checkouts/uclinux-dist/linux-2.6.x> svn info
Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d
Last Changed Author: cooloney
Last Changed Rev: 4154
Last Changed Date: 2008-01-28 14:42:17 +0800 (Mon, 28 Jan 2008)
Properties Last Updated: 2008-01-28 17:51:56 +0800 (Mon, 28 Jan 2008)
kernel: Linux release 220.127.116.11-ADI-2008R2-pre-svn4154, build #2 Mon Jan 28 18:06:25 CST 2008
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-5952, build #4 Mon Jan 28 18:05:41 CST 2008
--- Mike Frysinger 2008-01-28 05:32:59
version should get updated every time you run `make`
is that not the behavior you're seeing ?
--- Mingquan Pan 2008-01-28 21:33:03
No. I do: svn up, and then make, tftp down load and boot up this linux, the
version number is still the older one, through the uclinux-dist has new
--- Mike Frysinger 2008-01-28 22:03:47
should be fixed in svn now
--- Mingquan Pan 2008-01-29 03:31:16
--- Mingquan Pan 2008-06-13 01:50:19
The same issue is happening again on trunk now. Reopen it.
--- Mike Frysinger 2008-06-13 02:06:50
user/version/ hasnt changed. it works for me if you run `make` after updating.
just run `make user/version_only` and you can see it being updated.
--- Mingquan Pan 2008-06-13 04:06:53
Yeah, you are right, it works on trunk, but it fails on the 08r1 branch, would
you fixe on branch too? Thanks.
--- Mike Frysinger 2008-06-13 15:25:49
that i believe
should be fixed in the 2008R1 branch now too
--- Mingquan Pan 2008-06-16 00:33:48
Fixed on 08r1. Close.
File Name File Type File Size Posted By
No Files Were Found