fn validate_aboot_repart_partitions( partitions: &[RepartPartition], layout: AbootDiskLayout, ) -> Result<()>