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-02-24 20:34:02 +0000 |
commit | 67b90bd3e2839f49f7f751c9a150bf69d5300e71 (patch) | |
tree | bac0b0d8a0ad947bb064ac313a9abac930aa8aa1 | |
parent | 244bcde102edcde449d669c97a7245167ce377ea (diff) | |
download | gnu-guix-67b90bd3e2839f49f7f751c9a150bf69d5300e71.tar gnu-guix-67b90bd3e2839f49f7f751c9a150bf69d5300e71.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))) |