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

Use Separate Build Script for RPM Targets #350

Merged

Conversation

adamperlin
Copy link
Contributor

What this PR does / why we need it:

This PR is a step towards ensuring that fields from the Dalec spec are properly sanitized and cannot interfere with the generated RPM spec (see #330). Instead of writing the build steps into the generated RPM spec directly (which would allow a user to place RPM macros/directives in their build steps, changing the behavior of the generated RPM spec) we now write the build steps to a separate shell script, much as we do for windows and (soon to exist) jammy targets.

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

@adamperlin adamperlin requested a review from a team as a code owner August 20, 2024 20:46
@adamperlin adamperlin changed the title Adamperlin/azlinux use separate build script Use Separate Build Script for RPM Targets Aug 20, 2024
@cpuguy83 cpuguy83 merged commit 447bd57 into Azure:main Aug 21, 2024
9 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