fix: update azurelinux-rpm-config and rpm tomls#15752
Draft
liunan-ms wants to merge 2 commits intotomls/base/mainfrom
Draft
fix: update azurelinux-rpm-config and rpm tomls#15752liunan-ms wants to merge 2 commits intotomls/base/mainfrom
liunan-ms wants to merge 2 commits intotomls/base/mainfrom
Conversation
Member
|
@liunan-ms I haven't been able to reproduce the errors you report (e.g., docs pycache). I applied the isolated commit you link (just the one that moved the search-replace earlier) and it built fine locally for me. What's the specific command line you use to generate this? Is this with a local repo to satisfy dependencies? |
Contributor
Author
I ran |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes a few issues in azurelinux-rpm-config and rpm tomls:
Azure Linux branding and compatibility:
{fedora,redhat} -> azurelinuxglobal search-and-replace operation is positioned appropriately in the overlay list for clarity and correct application order inazurelinux-rpm-config.comp.toml. This fixes the issue that redhat-rpm-config was found in image packages file and incorrectly added in components.toml.With the above change, I found 2 errors while building rpm package:
./base/build/work/rpm/2026-02-06.181213/rpm-build-*/build.log:__pycache__folder is not found which should be generated with Python 3.14. I had to remove the reference to__pycache__in the Python 3 RPM files section.In rpm.spec, The
%installsection installs the doc files to/usr/share/doc/rpm, but the%docdirective tries to copy them again from source, creating duplicates. So I removed a doc line to fix it.Repro of rpm build issue:
Build packages locally only with commit: 27d1742