From 907857985a7be268aada08efba64c27536dfadcf Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Jan 2021 15:02:08 +0100 Subject: [PATCH] Disable fsck.fat for boot partition (might help #1125) (#1190) There are incident reports on the internet where poeple report that fsck.(v)fat actually leads to problems rather file system fixes. Around the time when Home Assistant OS added fsck.fat for the boot partition, reports of empty boot partitions or file with weired filenames started to appear. This could be caused by fsck.fat. Disable fsck on the boot partition. --- .../rootfs-overlay/usr/lib/systemd/system/mnt-boot.mount | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-boot.mount b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-boot.mount index e9f70d67b..9d0958e3c 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-boot.mount +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-boot.mount @@ -3,8 +3,6 @@ Description=HassOS boot partition DefaultDependencies=no Before=umount.target local-fs.target Conflicts=umount.target -After=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2dboot.service -Wants=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2dboot.service [Mount] What=/dev/disk/by-label/hassos-boot