Skip to content

Restore 'Microsoft' and full version number in azurelinux-release#8296

Merged
anphel31 merged 2 commits into3.0-devfrom
anphel/3-fix-azl-release
Mar 10, 2024
Merged

Restore 'Microsoft' and full version number in azurelinux-release#8296
anphel31 merged 2 commits into3.0-devfrom
anphel/3-fix-azl-release

Conversation

@anphel31
Copy link
Copy Markdown
Member

@anphel31 anphel31 commented Mar 7, 2024

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?
Restore 'Microsoft' and full version number in azurelinux-release; they were removed as part of #8028

Before (3.0.20240301 build):

Welcome to Azure Linux 3.0 (x86_64)

$ cat /etc/os-release
NAME="Azure Linux"
VERSION="3.0"
ID=azurelinux
VERSION_ID="3.0"
PRETTY_NAME="Azure Linux 3.0"
...

$ cat /etc/lsb-release
DISTRIB_ID="azurelinux"
DISTRIB_RELEASE="3.0"
DISTRIB_CODENAME=AzureLinux
DISTRIB_DESCRIPTION="Azure Linux 3.0"

$ cat /etc/azurelinux-release
Azure Linux 3.0
AZURELINUX_BUILD_NUMBER=a91c3fa

After:

Welcome to Microsoft Azure Linux 3.0 (x86_64)

$ cat /etc/os-release
NAME="Microsoft Azure Linux"
VERSION="3.0.20240307"
ID=azurelinux
VERSION_ID="3.0"
PRETTY_NAME="Microsoft Azure Linux 3.0"
...

$ cat /etc/lsb-release
DISTRIB_ID="azurelinux"
DISTRIB_RELEASE="3.0.20240307"
DISTRIB_CODENAME=AzureLinux
DISTRIB_DESCRIPTION="Microsoft Azure Linux 3.0"

$ cat /etc/azurelinux-release
Azure Linux 3.0.20240307
AZURELINUX_BUILD_NUMBER=a91c3fa
Change Log
  • Change azurelinux-release
Does this affect the toolchain?

NO

Test Methodology

@anphel31 anphel31 marked this pull request as ready for review March 8, 2024 05:32
@anphel31 anphel31 requested a review from a team as a code owner March 8, 2024 05:32
Copy link
Copy Markdown
Contributor

@ddstreetmicrosoft ddstreetmicrosoft left a comment

Choose a reason for hiding this comment

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

why is this needed?

@anphel31 anphel31 merged commit 4f8ac56 into 3.0-dev Mar 10, 2024
@anphel31 anphel31 deleted the anphel/3-fix-azl-release branch March 10, 2024 21:01
Xiaohong-Deng pushed a commit to Xiaohong-Deng/azurelinux that referenced this pull request Nov 23, 2024
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