Open jcapona opened 3 years ago
raspi-config
provides means to determine if the FS can be expanded: raspi-config nonint get_can_expand
https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config#L141
pi-topOS has a different partition layout, but some version of the above can be used.
We should replace the FS expand breadcrumb with something more robust. One possible option would be to check the filesystem size, though I'm sure there are other ways to detect.