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

Add support to parse build params from _buildparams file #1037

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bmwiedemann
Copy link
Member

To allow for custom build tweaks such as -j1 and
--vm-custom-opt=-cpu qemu64 written as separate lines in the _buildparams file.

This includes regexp whitelist validation to minimize risk to OBS operations.

The pattern for jobs deliberately does not have a * or + to not allow DoS or integer overflows.

The pattern for CPU allows to enable or disable individual CPUID flags. IMHO this should be safe.

To allow for custom build tweaks such as `-j1` and
`--vm-custom-opt=-cpu qemu64` written as separate lines in `_buildparams`
to minimize risk to OBS operations.

The pattern for jobs deliberately does not have a * or +
to not allow DoS or integer overflows.
PBuild runs build without chdir into the source-dir
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.

1 participant