diff options
author | Carl Dong <accounts@carldong.me> | 2019-03-11 13:53:10 -0400 |
---|---|---|
committer | Carl Dong <accounts@carldong.me> | 2019-03-18 11:05:17 -0400 |
commit | 89bee1bdbf7f77639e053dd004629e0db0e10724 (patch) | |
tree | 353264d2f06b344930963378c7ea43c0a72b09a1 /depends/packages/qt.mk | |
parent | 340ef50772a6a7dfcb1d38a35b8b9f54726c7b36 (diff) | |
download | bitcoin-89bee1bdbf7f77639e053dd004629e0db0e10724.tar.xz |
depends: tar: Always extract as yourself
For normal users, --no-same-owner is default, but not so for root, where
it is assumed that root can change ownership willy-nilly. This is not
the case for privilege-limited container environments where we gaslight
the process into thinking it's root.
Diffstat (limited to 'depends/packages/qt.mk')
-rw-r--r-- | depends/packages/qt.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk index deebf13e98..50c662eedb 100644 --- a/depends/packages/qt.mk +++ b/depends/packages/qt.mk @@ -125,11 +125,11 @@ define $(package)_extract_cmds echo "$($(package)_qttools_sha256_hash) $($(package)_source_dir)/$($(package)_qttools_file_name)" >> $($(package)_extract_dir)/.$($(package)_file_name).hash && \ $(build_SHA256SUM) -c $($(package)_extract_dir)/.$($(package)_file_name).hash && \ mkdir qtbase && \ - tar --strip-components=1 -xf $($(package)_source) -C qtbase && \ + tar --no-same-owner --strip-components=1 -xf $($(package)_source) -C qtbase && \ mkdir qttranslations && \ - tar --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttranslations_file_name) -C qttranslations && \ + tar --no-same-owner --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttranslations_file_name) -C qttranslations && \ mkdir qttools && \ - tar --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttools_file_name) -C qttools + tar --no-same-owner --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttools_file_name) -C qttools endef define $(package)_preprocess_cmds |