Skip to content

stages/files: fix relabel path to be relative to sysroot#771

Merged
jlebon merged 1 commit intocoreos:masterfrom
jlebon:pr/fix-relabel-path
Mar 25, 2019
Merged

stages/files: fix relabel path to be relative to sysroot#771
jlebon merged 1 commit intocoreos:masterfrom
jlebon:pr/fix-relabel-path

Conversation

@jlebon
Copy link
Member

@jlebon jlebon commented Mar 25, 2019

Minor regression from the recent creation ordering rework. We were
feeding /sysroot/... paths to restorecon. Let's make sure that (1)
the prefix is there on all the paths we create, and (2) we trim off the
prefix of the final path we queue for relabeling.

Minor regression from the recent creation ordering rework. We were
feeding `/sysroot/...` paths to `restorecon`. Let's make sure that (1)
the prefix is there on all the paths we create, and (2) we trim off the
prefix of the final path we queue for relabeling.
Copy link
Contributor

@ajeddeloh ajeddeloh left a comment

Choose a reason for hiding this comment

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

LGTM

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