Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir][rpm] Add param to explictly define directories
Summary: A new, safer approach to adding dirs to package.rpm after failed attempt in D66033287. While dirs that include files get automatically packaged into the rpm, we don't mark them with `%dir` so that the rpm doesn't "own" lots of paths that are prone to conflict on installation (like `/usr/lib`). However, if a user wants their rpm to explicitly "own" a dir, most likely in the case of an empty dir, we provide that here. As indicated in the comment, the dir must exist in the package contents (usually antlir layer) or else the rpm build will fail as we dont automatically `mkdir` any dirs in `dirs` Test Plan: see above diff Reviewed By: justintrudell Differential Revision: D66365747 fbshipit-source-id: 765f40a3f3485e2bf465ff8bbd931c08bd097473
- Loading branch information