Skip to content

Remove fakeroot wrapper, when building .rpm packages - #153249

Merged
Raymond Zhao (rzhao271) merged 2 commits into
microsoft:mainfrom
ferdnyc:rpm-no-fakeroot
Jul 5, 2022
Merged

Raymond Zhao (rzhao271) merged 2 commits into
microsoft:mainfrom
ferdnyc:rpm-no-fakeroot

Conversation

@ferdnyc

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@rzhao271 Raymond Zhao (rzhao271) left a comment

Copy link
Copy Markdown
Collaborator

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.

@deepak1556 Robo (deepak1556) left a comment

Copy link
Copy Markdown
Collaborator

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 Raymond Zhao (rzhao271) added this to the July 2022 milestone Jun 29, 2022
@rzhao271
Raymond Zhao (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.

4 participants