mirror of
				https://gitlab.com/alemaire/image-specs.git
				synced 2025-01-17 17:48:20 +00:00 
			
		
		
		
	FAT labels should be uppercase
...and both filesystem labels should be in the same case, for consistency
This commit is contained in:
		
							
								
								
									
										4
									
								
								fstab
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								fstab
									
									
									
									
									
								
							| @@ -1,5 +1,5 @@ | |||||||
| # The root file system has fs_passno=1 as per fstab(5) for automatic fsck. | # The root file system has fs_passno=1 as per fstab(5) for automatic fsck. | ||||||
| LABEL=raspiroot / ext4 rw 0 1 | LABEL=RASPIROOT / ext4 rw 0 1 | ||||||
| # All other file systems have fs_passno=2 as per fstab(5) for automatic fsck. | # All other file systems have fs_passno=2 as per fstab(5) for automatic fsck. | ||||||
| LABEL=raspiboot /boot/firmware vfat rw 0 2 | LABEL=RASPIFIRM /boot/firmware vfat rw 0 2 | ||||||
| proc /proc proc defaults 0 0 | proc /proc proc defaults 0 0 | ||||||
|   | |||||||
| @@ -22,11 +22,11 @@ steps: | |||||||
|  |  | ||||||
|   - mkfs: vfat |   - mkfs: vfat | ||||||
|     partition: boot-part |     partition: boot-part | ||||||
|     label: raspiboot |     label: RASPIFIRM | ||||||
|  |  | ||||||
|   - mkfs: ext4 |   - mkfs: ext4 | ||||||
|     partition: root-part |     partition: root-part | ||||||
|     label: raspiroot |     label: RASPIROOT | ||||||
|  |  | ||||||
|   - mount: root-part |   - mount: root-part | ||||||
|     fs-tag: root-fs |     fs-tag: root-fs | ||||||
| @@ -121,7 +121,7 @@ steps: | |||||||
|   # the partition labeled raspiroot instead of forcing it to mmcblk0p2 |   # the partition labeled raspiroot instead of forcing it to mmcblk0p2 | ||||||
|   - chroot: root-fs |   - chroot: root-fs | ||||||
|     shell: | |     shell: | | ||||||
|       sed -i 's/.dev.mmcblk0p2/LABEL=raspiroot/' /boot/firmware/cmdline.txt |       sed -i 's/.dev.mmcblk0p2/LABEL=RASPIROOT/' /boot/firmware/cmdline.txt | ||||||
|  |  | ||||||
|   # TODO(https://github.com/larswirzenius/vmdb2/issues/24): remove once vmdb |   # TODO(https://github.com/larswirzenius/vmdb2/issues/24): remove once vmdb | ||||||
|   # clears /etc/resolv.conf on its own. |   # clears /etc/resolv.conf on its own. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Gunnar Wolf
					Gunnar Wolf