vm: Increase disk size overhead estimate.
* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
This commit is contained in:
		
							parent
							
								
									e333efd53a
								
							
						
					
					
						commit
						21ffcd65c5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -157,8 +157,8 @@ the #:references-graphs parameter of 'derivation'."
 | 
				
			||||||
(define (estimated-partition-size graphs)
 | 
					(define (estimated-partition-size graphs)
 | 
				
			||||||
  "Return the estimated size of a partition that can store the store items
 | 
					  "Return the estimated size of a partition that can store the store items
 | 
				
			||||||
given by GRAPHS, a list of file names produced by #:references-graphs."
 | 
					given by GRAPHS, a list of file names produced by #:references-graphs."
 | 
				
			||||||
  ;; Simply add a 20% overhead.
 | 
					  ;; Simply add a 25% overhead.
 | 
				
			||||||
  (round (* 1.2 (closure-size graphs))))
 | 
					  (round (* 1.25 (closure-size graphs))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define* (initialize-partition-table device partitions
 | 
					(define* (initialize-partition-table device partitions
 | 
				
			||||||
                                     #:key
 | 
					                                     #:key
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue