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 build-system: android-ndk: Let upstream install header files. 2018-05-10 01:06:22 +02:00
ant-build-system.scm guix: ant-build-system: Reorder before generating INDEX.LIST. 2018-07-19 19:46:31 +02:00
asdf-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
bournish.scm bournish: 'ls' adjusts the column width depending on the entries. 2017-05-13 16:52:11 +02:00
cargo-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
cmake-build-system.scm build-system/cmake: Use invoke instead of system*. 2018-03-16 05:01:50 -04:00
compile.scm compile: Work around non-thread-safe module autoloading. 2018-06-18 23:19:51 +02:00
cvs.scm cvs-download: Use invoke instead of system*. 2018-03-16 05:02:32 -04:00
debug-link.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
download-nar.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
download.scm perform-download: Optionally report a "download-progress" trace. 2018-09-27 23:21:53 +02:00
dub-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
emacs-build-system.scm Merge branch 'master' into core-updates 2018-04-21 05:02:52 -04:00
emacs-utils.scm Merge branch 'master' into core-updates 2018-05-06 15:56:24 +02:00
font-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
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 build-system/glib-or-gtk: Use invoke instead of system*. 2018-03-16 05:01:47 -04:00
gnu-build-system.scm ld-wrapper: Allow linking with non-store libraries by default. 2018-03-29 17:58:16 +02:00
gnu-dist.scm gnu-dist: Use invoke instead of system*. 2018-03-16 05:01:43 -04:00
go-build-system.scm build-system/go: Use invoke instead of system*. 2018-07-19 19:12:54 -04:00
graft.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
gremlin.scm gremlin: Fix typo in export list. 2018-03-29 17:58:15 +02:00
guile-build-system.scm build-system: Add 'guile-build-system'. 2018-07-23 12:25:31 +02:00
haskell-build-system.scm build-system: haskell: Add #:cabal-revision argument. 2018-10-01 12:12:08 +02:00
hg.scm hg-download: Use invoke instead of system*. 2018-03-16 05:02:36 -04:00
java-utils.scm gnu: java: Return #t from all phases and snippets. 2018-06-28 03:55:37 -04:00
lisp-utils.scm build-system/asdf: Properly handle dependency specification casing. 2018-10-02 14:53:39 +02:00
make-bootstrap.scm guix: build: make-bootstrap: Copy "falloc.h" to the new system. 2017-02-27 15:31:06 +02:00
meson-build-system.scm build-system/meson: Remove RUNPATH workarounds. 2018-07-28 14:54:18 +02:00
minify-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
ocaml-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
perl-build-system.scm build-system/perl: Use invoke instead of system*. 2018-03-16 05:01:52 -04:00
profiles.scm profiles: Correctly deal with etc/ being a relative symlink. 2018-09-11 00:14:58 +02:00
pull.scm compile: Fix VPATH builds. 2017-11-07 00:12:10 +01:00
python-build-system.scm build-system/python: Fix deletion of .egg-info dirs created by tests. 2018-03-18 00:49:05 -04:00
qt-utils.scm build: Add wrap-qt-program. 2016-08-30 22:38:28 +02:00
r-build-system.scm build-system/r: Use invoke. 2018-05-31 13:24:17 +02:00
rpath.scm Add (guix build rpath). 2013-05-08 23:45:02 +02:00
ruby-build-system.scm ruby-build-system: Make phase "replace-git-ls-files" handle more cases. 2018-07-24 22:55:38 +02:00
scons-build-system.scm build-system/scons: Use invoke instead of system*. 2018-03-16 05:01:57 -04:00
store-copy.scm store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
svn.scm svn-download: Use invoke instead of system*. 2018-03-16 05:02:34 -04:00
syscalls.scm syscalls: Report lack of a libc symbol as ENOSYS. 2018-09-10 17:47:52 +02:00
texlive-build-system.scm build-system/texlive: Use invoke instead of system*. 2018-03-16 05:01:56 -04:00
union.scm union: Do not warn about harmless collisions. 2018-05-17 10:48:37 +02:00
utils.scm utils: invoke: Raise exceptions using SRFI-34 and SRFI-35. 2018-03-16 20:02:47 -04:00
waf-build-system.scm build-system/waf: Use invoke. 2018-06-19 10:48:14 +02:00