Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

lib/tar/write: Translate /etc → /usr/etc by default #104

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

cgwalters
Copy link
Member

We need this on general principle, because while ostree tries
to support both /etc and /usr/etc, in practice rpm-ostree
effectively requires ostree commits to have /usr/etc.

We need this on general principle, because while ostree tries
to support both `/etc` and `/usr/etc`, in practice rpm-ostree
effectively requires ostree commits to have `/usr/etc`.
@lucab
Copy link
Member

lucab commented Sep 27, 2021

Logic looks good, although I'm not sure at which point of the flow we ended up trying to import a tarball with content /etc. Are we maybe missing a validation step before reaching here, to ensure we only have content under /usr?

@lucab
Copy link
Member

lucab commented Sep 27, 2021

Nevermind, #99 (comment) already explained how content ended up in /etc.

@cgwalters cgwalters merged commit 104bcfc into ostreedev:main Sep 27, 2021
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.

2 participants