Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/sconsdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,13 @@ def bundle_update_package(self):
self.note_dist_component(
"update", "tgz", self.get_dist_path(bundle_tgz)
)
tar.add(bundle_dir, arcname=bundle_dir_name)

# Strip uid and gid in case of overflow
def tar_filter(tarinfo):
tarinfo.uid = tarinfo.gid = 0
return tarinfo

tar.add(bundle_dir, arcname=bundle_dir_name, filter=tar_filter)
return bundle_result


Expand Down