balena-os / takeover

Migrate arbitrary devices to balena
12 stars 8 forks source link

stage1/block_device_info: Improve failure logs for empty partitions #80

Closed acostach closed 5 months ago

acostach commented 5 months ago

If the system contains an empty partition, one that has no filesystem or for which blkid returns an empty output or error, let's log that.

This can be reproduced by trying to migrate while having a balenaOS flasher image plugged into the USB port, which has no filesystem on /dev/sda5.

Change-type: patch