Fetch the repository succeeded.
diff -Naur blivet-3.4.2.org/blivet/arch.py blivet-3.4.2.sw/blivet/arch.py
--- blivet-3.4.2.org/blivet/arch.py 2022-09-05 16:07:41.840000000 +0000
+++ blivet-3.4.2.sw/blivet/arch.py 2022-09-05 16:09:17.720000000 +0000
@@ -304,6 +304,15 @@
return os.uname()[4] == 'ia64'
+def is_sw_64():
+ """
+ :return: True if the hardware supports Sw_64, False otherwise.
+ :rtype: boolean
+
+ """
+ return os.uname()[4].startswith('sw_64')
+
+
def is_alpha():
"""
:return: True if the hardware supports Alpha, False otherwise.
@@ -351,6 +360,8 @@
return os.uname()[4]
elif is_aarch64():
return 'aarch64'
+ elif is_sw_64():
+ return 'sw_64'
elif is_alpha():
return 'alpha'
elif is_arm():
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。