!66 [sync] PR-64: add sw_64 support
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
b929d678ea
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
|
||||
Version: 8.40
|
||||
Release: 34
|
||||
Release: 35
|
||||
Summary: Update and display information about the configuration files
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rhinstaller/grubby
|
||||
@ -39,6 +39,7 @@ Patch9003: grubby-aarch64-skip-test-grub2.15.patch
|
||||
Patch9004: support-specify-cc.patch
|
||||
Patch9005: 0001-add-riscv64-support.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: libblkid-devel git-core sed make
|
||||
@ -117,6 +118,9 @@ sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/installkernel,g" %{SOURCE3} > %{buildroo
|
||||
%{_mandir}/man8/*.8*
|
||||
|
||||
%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
|
||||
- Fix man manual unable to recognize '-'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user