Skip to content

Commit

Permalink
partial support for building as non-root user
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaron Summers committed Sep 7, 2020
1 parent 80fd2f1 commit c563b5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm/install_rpms.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def main():
if p2.returncode and p2.returncode != 0:
raise RPMError("cpio exited with a non-zero exit code: %d" % p2.returncode)

subprocess.check_call(["chmod", "0755", dirpath])
with tarfile.open(args.output, "a") as tar:
tar.add(dirpath, arcname="/")
finally:
Expand Down

0 comments on commit c563b5d

Please sign in to comment.