[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] BSP releases and repository tags
From: |
Andrea Galbusera |
Subject: |
Re: [Ltib] BSP releases and repository tags |
Date: |
Mon, 24 Jan 2011 11:53:37 +0100 |
Hi Stuart,
thanks for your reply. I'm getting slightly confused about the release
files. What I see are different contents between
release_logs/RELEASE_INFO found inside the ISO image and the
etc/ltib-release inside the rootfs.jffs2 image that comes from the same
ISO image.
address@hidden:/tmp/mountediso$ cat release_logs/RELEASE_INFO
Release date = Wed Nov 10 14:18:09 2010 UTC
Release user = gizero
Release host = gizero-desktop
Release dir = /home/gizero/work/tpt/mpc5121/ltib-tpt-branch-0_9
SCM wtag = branch-mpc5121tpt-0_9
SCM tag = rel-mpc5121tpt-0_9 (1.4)
Release tag = ltib-mpc5121tpt-20101110
App version = 10.1.1
while,
/ # cat /etc/ltib-release
Release date = Wed Nov 10 14:24:18 2010 UTC
Release user = gizero
Release host = gizero-desktop
Release dir
= /home/gizero/work/tpt/mpc5121/ltib-tpt-branch-0_9/ltib-mpc5121tpt
-20101110/ltib-mpc5121tpt-20101110
SCM wtag = none
SCM tag = none
Release tag = none
App version = 10.1.1
If I get it right these two files are generated in two different steps
of the './ltib -m release' execution (timestamps differ). It looks like
the file that get included into the rootfs jffs2 image is created from
the stage directory shown in 'Release dir'.
release_logs/RELEASE_INFO comes with the expected information while
etc/ltib-release lacks some interesting bits. Since I'm not using the
latest version of ltib, may I have missed any rework on this
functionality?
Regards,
Andrea
On Fri, 2011-01-21 at 10:34 +0000, Stuart Hughes wrote:
> Hi Andrea,
>
> The release tag does get written into the ISO image, this is under
> release_logs/RELEASE_INFO in recent releases. In there you may see
> something like this (comment below each line describing each entry):
>
> Release date = Wed Aug 27 15:22:49 2008 UTC
> When it was made
> Release user = seh
> Use id of who made it
> Release host = m20
> Hostname on which the release was made
> Release dir = /home/seh/ltib_bsps/fc5
> The directory from where it was made
> SCM wtag = Tbranch-xxxx-sim_b1
> The branch you made it from
> SCM tag = branch-xxxx-sim_b1
> The actual tag for this release
> Release tag = ltib-e500mc-20080827
> The ISO tag name (descriptive)
> App version = 8.1.2
> ltib script release version
> CVS version = $Revision: 1.393 $
> ltib script CVS version
>
> Note that this also gets written into the root filesystem as
> /etc/ltib-release. When you first install an ISO without any changes,
> this will be the same as on the ISO. However, if you modify and rebuild
> in anyway, this will get changed as it is no longer the _actual_ release.
>
> Regards, Stuart
>
> On 21/01/11 09:51, Andrea Galbusera wrote:
> > Hello,
> > I'm currently maintaining a series of ltib BSPs for an internal project.
> > We track BSP configuration changes and fixes with our company CVS
> > repository. For any new BSP release we use './ltib -m release'. This
> > works fine for us and provide a self contained copy of everything needed
> > for generating target images of any released BSP version. Branching and
> > tagging strategies we adopted are the same as described in
> > doc/LtibReleaseProcess.
> >
> > Here comes my question: is there any reference to the release tag we
> > specify while running './ltib -m release' inside the rootfs image that
> > comes with the generated ISO? I thought this could have been in the
> > included /etc/ltib-release, but it does not seem so.
> >
> > My final goal is to read the BSP version from a running target: the most
> > desirable 'version string' would be the CVS tag corresponding to that
> > specific BSP version.
> >
> > Could anybody please elaborate on the /etc/ltib-release and RELEASE_INFO
> > files logic and how they get managed when ISO releasing with './ltib -m
> > release'?
> >
> > Thanks in advance
> > Regards,
> >
> >
>