Skip to content

Commit

Permalink
run chmod -R a+rX $(STORE) before creating sqfs (#206)
Browse files Browse the repository at this point in the history
So that all files in the mounted images can be read by all users.
  • Loading branch information
simonpintarelli authored Jan 16, 2025
1 parent 1255be8 commit 701ccf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stackinator/templates/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ post-install: env-meta
store.squashfs: post-install
# clean up the __pycache__ paths in the repo
$(SANDBOX) find $(STORE)/repo -type d -name __pycache__ -exec rm -r {} +
$(SANDBOX) chmod -R a+rX $(STORE)
$(SANDBOX) env -u SOURCE_DATE_EPOCH "$$($(SANDBOX) $(SPACK_HELPER) -e ./compilers/bootstrap find --format='{prefix}' squashfs | head -n1)/bin/mksquashfs" $(STORE) $@ -all-root -all-time $$(date +%s) -no-recovery -noappend -Xcompression-level 3

# Force push all built packages to the build cache
Expand Down

0 comments on commit 701ccf8

Please sign in to comment.