build: Do not store two copies of the ISO-9660 superblock anymore.
* gnu/build/vm.scm (make-iso9660-image): Do not store two copies of the ISO-9660 superblock anymore.
This commit is contained in:
		
							parent
							
								
									0920205391
								
							
						
					
					
						commit
						b43b9acf15
					
				
					 1 changed files with 0 additions and 13 deletions
				
			
		|  | @ -406,19 +406,6 @@ GRUB configuration and OS-DRV as the stuff in it." | ||||||
|                             ;; filesystem, so create it. |                             ;; filesystem, so create it. | ||||||
|                             "mnt=/tmp/root/mnt" |                             "mnt=/tmp/root/mnt" | ||||||
|                             "--" |                             "--" | ||||||
|                             ;; Store two copies of the headers. |  | ||||||
|                             ;; The resulting ISO-9660 image has a DOS MBR and |  | ||||||
|                             ;; one protective partition (with type 0xCD). |  | ||||||
|                             ;; Because GuixSD only uses actual partitions |  | ||||||
|                             ;; rather than what /proc/partitions returns, work |  | ||||||
|                             ;; around it by storing the primary volume |  | ||||||
|                             ;; descriptor twice, once where it should be and |  | ||||||
|                             ;; once in the partition. |  | ||||||
|                             ;; Allegedly, otherwise, many other GNU tools |  | ||||||
|                             ;; (automounters etc) would also be confused by |  | ||||||
|                             ;; the extra partition so it makes sense to |  | ||||||
|                             ;; store two copies in any case. |  | ||||||
|                             "-boot_image" "any" "partition_offset=16" |  | ||||||
|                             "-volid" ,(string-upcase volume-id) |                             "-volid" ,(string-upcase volume-id) | ||||||
|                             ,@(if volume-uuid |                             ,@(if volume-uuid | ||||||
|                                   `("-volume_date" "uuid" |                                   `("-volume_date" "uuid" | ||||||
|  |  | ||||||
		Reference in a new issue