contrib/ci: Detect machine type when generating debian/control

This commit is contained in:
Mario Limonciello 2018-02-19 14:09:49 -06:00 committed by Mario Limonciello
parent 02c469052f
commit 2de274fada

View File

@ -40,6 +40,8 @@ def parse_control_dependencies(requested_type):
else:
import lsb_release
OS = lsb_release.get_distro_information()['ID'].lower()
import platform
SUBOS = platform.machine()
tree = etree.parse(os.path.join(directory, "dependencies.xml"))
root = tree.getroot()