Add image/hwpack information into image

Bug #789135 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro image builds
Triaged
Low
Tom Gall
linaro-image-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: linaro-image-tools

Would be nice to have /etc/linaro-image file with informations about which LEB and hwpack were used to create it.

Something like:
Linaro evaluation build image: linaro-natty-alip 20110527
hwpack: panda-x11-base 20110527

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

For me having the l-m-c log available somewhere at the image should be enough already to understand the cmd-line arguments that was used and also the rootfs and hwpack files.

For a more consistent version ID we should have a file created by live-helper when creating the rootfs, describing which one was generated.

Changed in linaro-images:
assignee: nobody → Tom Gall (tom-gall)
Changed in linaro-images:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
James Westby (james-w) wrote : Re: [Bug 789135] [NEW] Add image/hwpack information into image

On Fri, 27 May 2011 13:28:30 -0000, Marcin Juszkiewicz <email address hidden> wrote:
> Public bug reported:
>
> Binary package hint: linaro-image-tools
>
> Would be nice to have /etc/linaro-image file with informations about
> which LEB and hwpack were used to create it.

I think this is dupe, but I agree that is is desirable.

You can kind of get this info now:

> Something like:
> Linaro evaluation build image: linaro-natty-alip 20110527

cat /var/lib/ubuntu_dist_channel

(or something like that)

> hwpack: panda-x11-base 20110527

dpkg -l "hwpack*"

Thanks,

James

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

root@linaro:/var/lib# cat ubuntu_dist_channel
# This is a distribution channel descriptor
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-linaro-natty-alip-20110527-0

root@linaro:/var/lib# dpkg -l "hwpack*"|tee
ii hwpack-linaro-panda-x11-base 20110527-0 Dummy package to install a hwpack

Thanks - this is what I wanted. Now if only would be a better way to check it ;)

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

and we should drop 'canonical-oem' string.

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 789135] Re: Add image/hwpack information into image

On Fri, 27 May 2011 15:25:49 -0000, Marcin Juszkiewicz <email address hidden> wrote:
> root@linaro:/var/lib# cat ubuntu_dist_channel
> # This is a distribution channel descriptor
> # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
> canonical-oem-linaro-natty-alip-20110527-0

Ah,

/etc/buildstamp is better for that info.

(canonical-oem can be changed next cycle via
config/offspring-builder.config:IBS_DISTRIBUTION_CHANNEL_DESCRIPTOR_PREFIX="offspring-${HOSTNAME}")

Thanks,

James

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I know it's probably a topic for other bug, but do we have the logs from l-m-c somewhere available at the image? Checking the cmd line arguments used with l-m-c can also be useful for debugging.

Revision history for this message
Guilherme Salgado (salgado) wrote :

I'm pretty sure we don't have lmc logs anywhere in the image. I guess
the important thing would be the logs of the hwpack installation?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.