Compare commits
2 Commits
rawhide
...
f38-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 870c83a103 | |
Vojtech Trefny | f814e60d8b |
|
@ -151,3 +151,5 @@
|
|||
/blivet-3.6.1.tar.gz
|
||||
/blivet-3.7.0-tests.tar.gz
|
||||
/blivet-3.7.0.tar.gz
|
||||
/blivet-3.7.1.tar.gz
|
||||
/blivet-3.7.1-tests.tar.gz
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
From f2437139efb7f8c7d452f75d4ce7937e1804e8e1 Mon Sep 17 00:00:00 2001
|
||||
From: Nikita ROUSSEAU <48907457+nirousseau@users.noreply.github.com>
|
||||
Date: Thu, 18 May 2023 20:11:25 +0000
|
||||
Subject: [PATCH] Add RISCV64 architecture helper [is_riscv64()] for arch
|
||||
module.
|
||||
|
||||
This merge request is required to keep the pyAnaconda code clean at https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/modules/storage/platform.py#L493
|
||||
The idea is to explicty call the blivet.arch.is_riscv64() helper in the switch/case in order to correctly determine riscv64 architecture for pyAnaconda.
|
||||
---
|
||||
blivet/arch.py | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/blivet/arch.py b/blivet/arch.py
|
||||
index c18dcfa4c..6c2a584e3 100644
|
||||
--- a/blivet/arch.py
|
||||
+++ b/blivet/arch.py
|
||||
@@ -349,6 +349,15 @@ def is_arm():
|
||||
return os.uname()[4].startswith('arm')
|
||||
|
||||
|
||||
+def is_riscv64():
|
||||
+ """
|
||||
+ :return: True if the hardware supports RISCV64, False otherwise.
|
||||
+ :rtype: boolean
|
||||
+
|
||||
+ """
|
||||
+ return os.uname()[4] == 'riscv64'
|
||||
+
|
||||
+
|
||||
def is_loongarch(bits=None):
|
||||
"""
|
||||
:return: True if the hardware supports loongarch, False otherwise.
|
||||
@@ -405,6 +414,8 @@ def get_arch():
|
||||
return 'alpha'
|
||||
elif is_arm():
|
||||
return 'arm'
|
||||
+ elif is_riscv64():
|
||||
+ return 'riscv64'
|
||||
elif is_loongarch(bits=32):
|
||||
return 'loongarch32'
|
||||
elif is_loongarch(bits=64):
|
|
@ -19,11 +19,11 @@
|
|||
Summary: A python module for system storage configuration
|
||||
Name: python-blivet
|
||||
Url: https://storageapis.wordpress.com/projects/blivet
|
||||
Version: 3.7.0
|
||||
Version: 3.7.1
|
||||
|
||||
#%%global prerelease .b2
|
||||
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
|
||||
Release: 1%{?prerelease}%{?dist}
|
||||
Release: 1%{?prerelease}.0.riscv64%{?dist}
|
||||
Epoch: 1
|
||||
License: LGPL-2.1-or-later
|
||||
%global realname blivet
|
||||
|
@ -35,6 +35,8 @@ Source1: http://github.com/storaged-project/blivet/archive/%{realname}-%{realver
|
|||
Patch0: 0001-remove-btrfs-plugin.patch
|
||||
%endif
|
||||
|
||||
Patch9: f2437139efb7f8c7d452f75d4ce7937e1804e8e1.patch
|
||||
|
||||
# Versions of required components (done so we make sure the buildrequires
|
||||
# match the requires versions of things).
|
||||
%global partedver 1.8.1
|
||||
|
@ -196,6 +198,20 @@ configuration.
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Sep 11 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.7.1-1.0.riscv64
|
||||
- Add is_riscv64() support
|
||||
|
||||
* Thu Mar 16 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.1-1
|
||||
- Fix the get_mount_device function (vponcova)
|
||||
- Prefer using UUID for the kickstart --onpart argument (vtrefny)
|
||||
- Fix setting kickstart data (vtrefny)
|
||||
- pylint: Remove the "EXCEPTIONS" section from pylintrc (vtrefny)
|
||||
- Add "microsoft" to list of recognized VM environments (vtrefny)
|
||||
- ci: Add action to run unit tests in GH actions (vtrefny)
|
||||
- tests: Make sure that unit tests can run without root privileges (vtrefny)
|
||||
- doc: Link to the LVM VDO documentation from the index page (vtrefny)
|
||||
- Ignore missing parted disk in ActionList._post_process (#2102960) (vtrefny)
|
||||
|
||||
* Wed Feb 08 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.0-1
|
||||
- Remove unused BLOCKDEV_DM_RAID technology from tasks (vtrefny)
|
||||
- tests: Force remove LVM VG /dev/ entry not removed by vgremove (vtrefny)
|
||||
|
|
4
sources
4
sources
|
@ -1,2 +1,2 @@
|
|||
SHA512 (blivet-3.7.0-tests.tar.gz) = ef6ed70d51cc0c905d90c7dd338ac275b6fcd90aac7801d0a7c1a5e4a6ea67b726e2d71c7ade1f4bc3cd5a4173513992318811c62c9045964d6d3aaf99e3877d
|
||||
SHA512 (blivet-3.7.0.tar.gz) = c1ca8ec54790fd73272171a37d75837904bf6cc96dac711cb275bdd8d418c31824821400c33cf05f356410b7ceb4663d2ba25b7d676818e9a644f39f56d23636
|
||||
SHA512 (blivet-3.7.1.tar.gz) = 2a4f17e3551e24f78d2975bbe9fa21a57026f643a38e1fcd5d5ce8927cc7f224d4df68c2f23e99087be0a10459e4c1f758332cab70ee1fcab477f8dcf2e4c4ac
|
||||
SHA512 (blivet-3.7.1-tests.tar.gz) = a3561f972962f6aad3f2ea4ad88f5e307c68fefb4d742085130cf4f232cd6d924f59ae06df602017542a83a1164ad7356b5518e8c3d07d07ab31880f94421db7
|
||||
|
|
Loading…
Reference in New Issue