mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
vm: 'system-docker-image' calls 'sync' before rebooting.
Previously we could end up silently building truncated tarballs. * gnu/system/vm.scm (system-docker-image)[build]: Add call to 'sync'.
This commit is contained in:
parent
ac3c14fb07
commit
0dc7d298a3
1 changed files with 4 additions and 1 deletions
|
@ -526,7 +526,10 @@ should set REGISTER-CLOSURES? to #f."
|
|||
#$os-drv
|
||||
#:compressor '(#+(file-append gzip "/bin/gzip") "-9n")
|
||||
#:creation-time (make-time time-utc 0 1)
|
||||
#:transformations `((,root-directory -> ""))))))))
|
||||
#:transformations `((,root-directory -> "")))
|
||||
|
||||
;; Make sure the tarball is fully written before rebooting.
|
||||
(sync))))))
|
||||
(expression->derivation-in-linux-vm
|
||||
name build
|
||||
#:make-disk-image? #f
|
||||
|
|
Loading…
Reference in a new issue