craft_parts.packages.platform module¶
Helpers to determine the repository for the platform.
- craft_parts.packages.platform.is_deb_based(distro=None)[source]¶
Verify the distribution packaging system.
- Parameters:
distro (
str
|None
) – The distribution name.- Return type:
bool
- Returns:
Whether the distribution uses .deb packages.