mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-09-26 03:23:35 +01:00
The rootfstype parameter was removed in HAOS 13.0 when the root filesystem switched from SquashFS to EROFS in #3456, because during the transition one slot could still contain a SquashFS rootfs. The enforced upgrade path now only allows upgrading from 15.2 or newer, so after an update both slots are guaranteed to contain an EROFS rootfs and the parameter can be added back. Specifying rootfstype avoids probing other filesystem types when mounting the rootfs. For U-Boot boards add rootfstype=erofs to the boot scripts and to the grub.cfg on UEFI targets. On Raspberry Pi 5 the cmdline.txt on the boot partition persists across updates, so adjust it in a targeted migration in the RAUC hook. The migration replaces the obsolete removal of rootfstype=squashfs, which is already handled on all systems the update can be installed from.