Skip to content

Commit

Permalink
importer: Allow /usr/local RPM content
Browse files Browse the repository at this point in the history
Obviously, this alone is not enough to expose that content but it's a
start. Currently as is, it'll get nuked when we replace `/usr/local` by
a symlink in postprocessing. A future patch will address that part.

Part of coreos#233.
  • Loading branch information
jlebon committed Jan 9, 2024
1 parent 5048485 commit f553024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/importer.rs
Expand Up @@ -392,7 +392,7 @@ fn path_is_ostree_compliant(path: &str) -> bool {
return true;
}

if path.starts_with("/usr/") && !path.starts_with("/usr/local") {
if path.starts_with("/usr/") {
return true;
}

Expand Down

0 comments on commit f553024

Please sign in to comment.