[#3869] version command info uclinux-dist is not exact if the tree has been svn updated
Submitted By: Mingquan Pan
Open Date
2008-01-28 03:08:10 Close Date
2008-06-16 00:33:48
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-6
App binary format:
N/A
Summary: version command info uclinux-dist is not exact if the tree has been svn updated
Details:
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
Path: .
URL: svn://10.99.22.20/uclinux-dist/trunk
Repository UUID: 3e2a5524-39e8-4cb9-84a9-c49da69cba3a
Revision: 6092
Node Kind: directory
Schedule: normal
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>
test@linux:~/checkouts/uclinux-dist/linux-2.6.x> svn info
Path: .
URL: svn://firewall-sources.blackfin.uclinux.org:80/svn/linux-kernel/trunk
Repository UUID: 526b6c2d-f592-4532-a319-5dd88ccb003d
Revision: 4154
Node Kind: directory
Schedule: normal
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)
version info:
oot:/> version
kernel: Linux release 2.6.22.16-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
Follow-ups
--- 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
checkins.
--- Mike Frysinger 2008-01-28 22:03:47
should be fixed in svn now
--- Mingquan Pan 2008-01-29 03:31:16
Yes,close.
--- 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.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found