FAT labels should be uppercase

...and both filesystem labels should be in the same case, for consistency
This commit is contained in:
Gunnar Wolf 2018-12-04 18:39:03 -06:00
parent badf0da112
commit bf7dc84c50
2 changed files with 5 additions and 5 deletions

4
fstab
View File

@ -1,5 +1,5 @@
# 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.
LABEL=raspiboot /boot/firmware vfat rw 0 2
LABEL=RASPIFIRM /boot/firmware vfat rw 0 2
proc /proc proc defaults 0 0

View File

@ -22,11 +22,11 @@ steps:
- mkfs: vfat
partition: boot-part
label: raspiboot
label: RASPIFIRM
- mkfs: ext4
partition: root-part
label: raspiroot
label: RASPIROOT
- mount: root-part
fs-tag: root-fs
@ -121,7 +121,7 @@ steps:
# the partition labeled raspiroot instead of forcing it to mmcblk0p2
- chroot: root-fs
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
# clears /etc/resolv.conf on its own.