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

Remove fakeroot wrapper, when building .rpm packages #153249

Merged
merged 2 commits into from
Jul 5, 2022

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Jun 26, 2022

REALLY minor change, but... there's no reason to use fakeroot when building RPMs. Unlike when building .deb files, the .rpm packaging process is intended to be performed by a regular, unprivileged user. It doesn't require root permissions (even fake ones), because installed-file permissions are stored as package metadata and applied when the package is extracted and installed.

RPM packages are intended to be built by normal users, they don't
require root permissions (even fake ones).
@Tyriar
Copy link
Member

Tyriar commented Jun 27, 2022

I'm pretty sure this was needed when I set it up. Might be related to how our CI ran/runs.

@Tyriar Tyriar assigned rzhao271 and unassigned Tyriar Jun 27, 2022
Copy link
Contributor

@rzhao271 rzhao271 left a comment

Choose a reason for hiding this comment

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

Ran a custom build and it seems to be fine.

@rzhao271 rzhao271 requested a review from deepak1556 June 28, 2022 18:23
Copy link
Contributor

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

LGTM, but I recommend merging it in debt week since we are currently in testing phase of current iteration.

@rzhao271 rzhao271 added this to the July 2022 milestone Jun 29, 2022
@rzhao271 rzhao271 merged commit 1a621c9 into microsoft:main Jul 5, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants