index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | advaithm <advaith.madhukar@gmail.com> | 2021-04-07 07:55:46 +0530 |
---|---|---|
committer | advaithm <advaith.madhukar@gmail.com> | 2021-04-07 07:55:46 +0530 |
commit | 86b4a5dc12908b27896e385bb0a51a69551e9482 (patch) | |
tree | 4d363765792447e3d319a4b3a8f5c23ccb5f9d20 | |
parent | 5c83682efdee2c74de0f709fb8229e8257854912 (diff) |
-rw-r--r-- | archinstall/lib/hardware.py | 4 |
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py index 3422a793..687b4a74 100644 --- a/archinstall/lib/hardware.py +++ b/archinstall/lib/hardware.py @@ -9,6 +9,10 @@ def hasAMDCPU()->bool: if subprocess.check_output("lscpu | grep AMD", shell=True).strip().decode(): return True return False +def hasIntelCPU()->bool: + if subprocess.check_output("lscpu | grep Intel", shell=True).strip().decode(): + return True + return False def hasUEFI()->bool: return os.path.isdir('/sys/firmware/efi') |