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

Allow setting plaform macro settings externally #2579

Conversation

zboszor
Copy link
Contributor

@zboszor zboszor commented Jul 25, 2023

Yocto has their own way to set the platform names via BSPs (Board Support Packages). These names are more specific than basic CPU architectures, and such a platform name ends up in /etc/rpm/platform but the corresponding subdirectory under /usr/lib/rpm/platform does not exist.

Allow creating such custom platform subdirectory with feeding the necessary data using external variables: RPM_CUSTOM_ARCH, RPM_CUSTOM_ISANAME, RPM_CUSTOM_ISABITS, RPM_CUSTOM_CANONARCH and RPM_CUSTOM_CANONCOLOR

Fixes #2578

Yocto has their own way to set the platform names via BSPs
(Board Support Packages). These names are more specific than
basic CPU architectures, and such a platform name ends up in
/etc/rpm/platform but the corresponding subdirectory under
/usr/lib/rpm/platform does not exist.

Allow creating such custom platform subdirectory with feeding
the necessary data using external variables: RPM_CUSTOM_ARCH,
RPM_CUSTOM_ISANAME, RPM_CUSTOM_ISABITS, RPM_CUSTOM_CANONARCH
and RPM_CUSTOM_CANONCOLOR

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@ffesti
Copy link
Contributor

ffesti commented Jul 26, 2023

We don't allow PRs for release branches as patches in there are supposed to be cherry-picked from master. We now have a rpm-4.18.2 milestone that the original issue can be attached to as a reminder that this should be backported.

Closing.

@ffesti ffesti closed this Jul 26, 2023
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.

None yet

2 participants