diff options
author | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2018-07-01 18:53:38 +0100 |
---|---|---|
committer | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2019-04-09 00:49:25 +0100 |
commit | 55944ff4b15410eaf17d06bbf8b7bc7cd393382c (patch) | |
tree | ab3971a4a4ae3a1e03be64ece974d42d0631e07c | |
parent | 28fd37bfb9fd1b2fb2272bfe10da4ef023027e32 (diff) | |
download | gnu-guix-55944ff4b15410eaf17d06bbf8b7bc7cd393382c.tar gnu-guix-55944ff4b15410eaf17d06bbf8b7bc7cd393382c.tar.gz |
Work around a issue in grootfs when unpacking tar archives
-rw-r--r-- | guix/docker.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/docker.scm b/guix/docker.scm index c6e9c6fee5..0f917f08bc 100644 --- a/guix/docker.scm +++ b/guix/docker.scm @@ -197,9 +197,11 @@ SRFI-19 time-utc object, as the creation time in metadata." ;; Initialize /var/guix, assuming PREFIX points to a profile. (install-database-and-gc-roots "." database prefix)) + (mkdir-p "gnu/store") (apply invoke "tar" "-cf" "layer.tar" `(,@transformation-options ,@%tar-determinism-options + "gnu" ,@paths ,@(if database '("var") '()) ,@(map symlink-source symlinks))) |