guix-devel/guix/build
Ludovic Courtès 72dc64f8f7
store-copy: Canonicalize the mtime and permissions of the store copy.
Fixes a bug whereby directories in the output of 'guix pack -f tarball'
would not be read-only.

* guix/build/store-copy.scm (reset-permissions): New procedure.
(populate-store): Pass #:keep-mtime? #t to 'copy-recursively'.  Call
'reset-permissions'.
* tests/pack.scm ("self-contained-tarball"): In CHECK, define
'canonical?' and use it to check that every file has an mtime of 1 and
is read-only.
* tests/guix-pack.sh: Invoke "chmod -Rf +w" before "rm -rf" in trap.
2018-11-06 23:21:24 +01:00
..
android-ndk-build-system.scm
ant-build-system.scm
asdf-build-system.scm
bournish.scm
cargo-build-system.scm
cmake-build-system.scm
compile.scm
cvs.scm
debug-link.scm
download-nar.scm
download.scm perform-download: Optionally report a "download-progress" trace. 2018-09-27 23:21:53 +02:00
dub-build-system.scm
emacs-build-system.scm
emacs-utils.scm
font-build-system.scm
git.scm git-download: Print a message when falling back to a full fetch. 2018-10-28 22:17:17 -04:00
glib-or-gtk-build-system.scm
gnu-build-system.scm
gnu-dist.scm
go-build-system.scm
graft.scm
gremlin.scm
guile-build-system.scm
haskell-build-system.scm build-system: haskell: Add #:cabal-revision argument. 2018-10-01 12:12:08 +02:00
hg.scm
java-utils.scm
lisp-utils.scm build-system/asdf: Properly handle dependency specification casing. 2018-10-02 14:53:39 +02:00
make-bootstrap.scm
meson-build-system.scm
minify-build-system.scm
ocaml-build-system.scm
perl-build-system.scm
profiles.scm
pull.scm
python-build-system.scm
qt-utils.scm
r-build-system.scm
rpath.scm
ruby-build-system.scm
scons-build-system.scm
store-copy.scm store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
svn.scm
syscalls.scm
texlive-build-system.scm
union.scm
utils.scm
waf-build-system.scm