Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: read ubuntu_dist_channel first then media-info (#754) (BugFix) #756

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

cyruslien
Copy link
Contributor

On Somerville platforms, media-info provides the build stamp of the base image and ubuntu_dist_channel provides the base image and platform image information.

u@u:~$ cat /var/log/installer/media-info
Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-jammy-amd64-20220504-33

u@u:~$ cat /var/lib/ubuntu_dist_channel
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-jammy-amd64-20220504-33+jellyfish-rattata+X94

The patch changed the order of reading content of ubuntu_dist_channel first then media-info as buildstamp info.

Copy link
Collaborator

@pieqq pieqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Hopefully it improves the information you need for investigating issues :)

@Hook25 Hook25 changed the title Change: read ubuntu_dist_channel first then media-info (#754) Change: read ubuntu_dist_channel first then media-info (#754) (BugFix) Oct 11, 2023
@pieqq pieqq merged commit 2929523 into canonical:main Oct 23, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants