add sw_64 support
(cherry picked from commit 726c29769255c04555f276d4f21dfe5360c7f8bc)
This commit is contained in:
parent
1baf9edf7b
commit
3396b3a12e
12
0001-add-sw_64-support-for-grubby.patch
Normal file
12
0001-add-sw_64-support-for-grubby.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nuar grubby-8.40-1/grubby.c grubby-8.40-1-new/grubby.c
|
||||||
|
--- grubby-8.40-1/grubby.c 2024-09-09 17:52:12.702785049 +0800
|
||||||
|
+++ grubby-8.40-1-new/grubby.c 2024-09-09 17:51:22.062183169 +0800
|
||||||
|
@@ -60,7 +60,7 @@
|
||||||
|
|
||||||
|
int isEfi = 0;
|
||||||
|
|
||||||
|
-#if defined(__aarch64__) || (__loongarch64)
|
||||||
|
+#if defined(__aarch64__) || (__loongarch64) || defined(__sw_64__)
|
||||||
|
#define isEfiOnly 1
|
||||||
|
#elif (defined(__riscv) && (__riscv_xlen == 64))
|
||||||
|
#define isEfiOnly 1
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: grubby
|
Name: grubby
|
||||||
Version: 8.40
|
Version: 8.40
|
||||||
Release: 34
|
Release: 35
|
||||||
Summary: Update and display information about the configuration files
|
Summary: Update and display information about the configuration files
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rhinstaller/grubby
|
URL: https://github.com/rhinstaller/grubby
|
||||||
@ -39,6 +39,7 @@ Patch9003: grubby-aarch64-skip-test-grub2.15.patch
|
|||||||
Patch9004: support-specify-cc.patch
|
Patch9004: support-specify-cc.patch
|
||||||
Patch9005: 0001-add-riscv64-support.patch
|
Patch9005: 0001-add-riscv64-support.patch
|
||||||
Patch9006: grubby-8.40-After-opening-the-manual-through-man-the-symbol-cann.patch
|
Patch9006: grubby-8.40-After-opening-the-manual-through-man-the-symbol-cann.patch
|
||||||
|
Patch9007: 0001-add-sw_64-support-for-grubby.patch
|
||||||
|
|
||||||
BuildRequires: gcc pkgconfig glib2-devel popt-devel
|
BuildRequires: gcc pkgconfig glib2-devel popt-devel
|
||||||
BuildRequires: libblkid-devel git-core sed make
|
BuildRequires: libblkid-devel git-core sed make
|
||||||
@ -117,6 +118,9 @@ sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/installkernel,g" %{SOURCE3} > %{buildroo
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 04 2025 maqi <maqi@uniontech.com> - 8.40-35
|
||||||
|
- add sw_64 support
|
||||||
|
|
||||||
* Thu Sep 19 2024 yueyuankun <yueyuankun@kylinos.cn> - 8.40-34
|
* Thu Sep 19 2024 yueyuankun <yueyuankun@kylinos.cn> - 8.40-34
|
||||||
- Fix man manual unable to recognize '-'
|
- Fix man manual unable to recognize '-'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user