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-01-30 09:02:07 +0000 |
commit | a3999400b21d38601915d2108bab3700a1c96702 (patch) | |
tree | 0b965c152ebd54beaa12b57cfdb78ea97164f436 | |
parent | 50904d4178de0cc0eaecc25734af857da141fd8d (diff) | |
download | gnu-guix-a3999400b21d38601915d2108bab3700a1c96702.tar gnu-guix-a3999400b21d38601915d2108bab3700a1c96702.tar.gz |
Work around a issue in grootfs when unpacking tar archivesrelease_29
-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))) |