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> | 2020-03-31 21:41:50 +0100 |
commit | 731a87d55891af5959db09084922c358a4d010d8 (patch) | |
tree | 2f82182f72d704bf14be721df05fa264700dfb7f | |
parent | f61016042c2588e5b7f1344280eeeddadf0c29c8 (diff) | |
download | gnu-guix-731a87d55891af5959db09084922c358a4d010d8.tar gnu-guix-731a87d55891af5959db09084922c358a4d010d8.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 97ac6d982b..61a98b28a5 100644 --- a/guix/docker.scm +++ b/guix/docker.scm @@ -229,9 +229,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 ,@(scandir "." (lambda (file) |