← Back to team overview

ubuntu-phone team mailing list archive

Re: Can we have something like /etc/buildstamp in ubuntu touch image ?

 

On Wed, Aug 28, 2013 at 1:26 PM, Oliver Grawert <ogra@xxxxxxxxxx> wrote:

> hi,
> Am Mittwoch, den 28.08.2013, 22:59 +0800 schrieb YC Cheng:
> > Hi, In certain cases, something like /etc/buildstamp is needed or
> > sometimes waste some time to keep tracking in testing.
> >
> the official stamp is in /var/log/installer/media-info (which links
> to /etc/media-info for better consumption on the upcoming system images)
>

System images also create  /etc/ubuntu-build
and /etc/system-image/channel.ini

So the media-info is from cdimage and the channel/ubuntu-build is from the
system image which don't necessarily match. On the same system:

# cat /etc/system-image/channel.ini
[service]
base: system-image.ubuntu.com
http_port: 80
https_port: 443
channel: daily-proposed
build_number: 20130834

# cat /etc/media-info
Ubuntu Saucy Salamander (development branch) - armhf (20130828)

Follow ups

References