Skip to content

Commit

Permalink
Add --no-same-owner to fix problem when generating container
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jul 31, 2024
1 parent 9ced2d7 commit 754d204
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ cd ..

# install PDF sets
for pdf in "${pdf_sets[@]}"; do
curl "https://lhapdfsets.web.cern.ch/current/${pdf}.tar.gz" | tar xzf - -C /usr/local/share/LHAPDF
# see the following link why `--no-same-owner` may be necessary:
# https://github.com/habitat-sh/builder/issues/365#issuecomment-382862233
curl "https://lhapdfsets.web.cern.ch/current/${pdf}.tar.gz" | tar xzf - --no-same-owner -C /usr/local/share/LHAPDF
done

# install Tanjona's polarized PDF set
curl "https://data.nnpdf.science/pineappl/pdfs/240608-tr-pol-nlo-100.tar.gz" | tar xzf - -C /usr/local/share/LHAPDF
curl "https://data.nnpdf.science/pineappl/pdfs/240608-tr-pol-nlo-100.tar.gz" | tar xzf - --no-same-owner -C /usr/local/share/LHAPDF

# install zlib; we need to link against it statically
curl "https://www.zlib.net/zlib-${ZLIB_V}.tar.gz" | tar xzf -
Expand Down

0 comments on commit 754d204

Please sign in to comment.