Skip to content

Add ignition 2.22.0 to core repo in azure linux#15516

Open
SumitJenaHCL wants to merge 17 commits intomicrosoft:3.0-devfrom
SumitJenaHCL:topic_ignition
Open

Add ignition 2.22.0 to core repo in azure linux#15516
SumitJenaHCL wants to merge 17 commits intomicrosoft:3.0-devfrom
SumitJenaHCL:topic_ignition

Conversation

@SumitJenaHCL
Copy link
Contributor

@SumitJenaHCL SumitJenaHCL commented Jan 16, 2026

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 (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/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?
This PR is to add package ignition to SPECS.

Change Log
  • LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
  • LICENSES-AND-NOTICES/SPECS/data/licenses.json
  • SPECS-EXTENDED/ignition/ignition.signatures.json
  • SPECS-EXTENDED/ignition/ignition.spec
  • cgmanifest.json
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local Build
  • image

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Jan 16, 2026
@sandeepkarambelkar
Copy link
Contributor

@SumitJenaHCL
Copy link
Contributor Author

@SumitJenaHCL SumitJenaHCL marked this pull request as ready for review January 20, 2026 09:21
@SumitJenaHCL SumitJenaHCL requested review from a team as code owners January 20, 2026 09:21
@sandeepkarambelkar
Copy link
Contributor

@sandeepkarambelkar
Copy link
Contributor

@sandeepkarambelkar
Copy link
Contributor

@SumitJenaHCL SumitJenaHCL changed the title Add ignition to SPECS-EXTENDED Add ignition to SPECS Jan 22, 2026
@sandeepkarambelkar sandeepkarambelkar changed the title Add ignition to SPECS Add ignition 2.25.1 to core repo in azure linux Jan 22, 2026
@SumitJenaHCL SumitJenaHCL changed the title Add ignition 2.25.1 to core repo in azure linux Add ignition 2.24.0 to core repo in azure linux Jan 27, 2026
@sandeepkarambelkar
Copy link
Contributor

Changed the selinuxRelabel flag from true to false in LDFLAGS.
@sandeepkarambelkar
Copy link
Contributor

@sandeepkarambelkar
Copy link
Contributor

@jiria
Copy link
Member

jiria commented Feb 9, 2026

Ignition is outputting in runtime: Ignition was not built properly, seems to be coming from: https://github.com/flatcar/ignition/blob/f64e3b645d1a64d2c2dd58346ddb16aa711fa6fd/internal/version/version.go. Can you please investigate further and fix?

Updated build commands for ignition and ignition-validate to include linker flags.
@sandeepkarambelkar
Copy link
Contributor

@SumitJenaHCL SumitJenaHCL changed the title Add ignition 2.24.0 to core repo in azure linux Add ignition 2.22.0 to core repo in azure linux Feb 16, 2026
@jiria
Copy link
Member

jiria commented Feb 26, 2026

Is the go-rpm-macros move from SPECS EXTENDED to SPECS approved by the same ship room?

@jiria
Copy link
Member

jiria commented Feb 26, 2026

Would it make sense to rename this package from ignition to ignition-flatcar, given the heavy patchset that Flatcar carries? https://github.com/flatcar/scripts/blob/stable-4459.2.2/sdk_container/src/third_party/coreos-overlay/sys-apps/ignition/files/README.md


This package contains a tool for validating Ignition configurations.

############## validate-redistributable subpackage ##############
Copy link
Member

Choose a reason for hiding this comment

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

Why keep this comment when we dont carry the redist bits?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree.


%build
export LDFLAGS="-X github.com/coreos/ignition/v2/internal/version.Raw=%{version} -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=false "
%if 0%{?rhel} && 0%{?rhel} <= 8
Copy link
Member

Choose a reason for hiding this comment

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

Why do we carry the rhel specific logic?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree.

@@ -0,0 +1,709 @@
%bcond_with check

%global ignedgecommit a2587490b2a9a215ad12cf15866025efbe027552
Copy link
Member

Choose a reason for hiding this comment

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

Should we remove given that we are not building the edge subpackage?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure. We had kept it if we want to add it later. Keeping it doesn't harm.
We will remove for now and will add when we decide to add edge subpackage.

@jiria
Copy link
Member

jiria commented Feb 26, 2026

Still seeing: [ 5.742334] ignition[993]: INFO : Ignition was not built properly

@sandeepkarambelkar
Copy link
Contributor

Still seeing: [ 5.742334] ignition[993]: INFO : Ignition was not built properly

I can see that you have not picked latest ignition spec in your branch. I use your branch for building the flatcar image.

Mainly following lines have required fixes -

echo "Building ignition..."
go build -ldflags "${LDFLAGS:-}" -o ./ignition internal/main.go
%if 0%{?with_validate}
echo "Building ignition-validate..."
go build -ldflags "${LDFLAGS:-}" -o ./ignition-validate validate/main.go

Can you try by picking up the latest changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants