mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-23 21:26:58 +00:00
contrib/ci: Detect machine type when generating debian/control
This commit is contained in:
parent
02c469052f
commit
2de274fada
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user