!842 [sync] PR-840: update sw_64 patch

From: @openeuler-sync-bot 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
This commit is contained in:
openeuler-ci-bot 2025-03-28 02:53:40 +00:00 committed by Gitee
commit 536eb75f8b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 15 additions and 10 deletions

View File

@ -132,6 +132,15 @@ index 402fdd0..9680923 100644
# elif defined(__arc__) || defined(__tilegx__)
# define systemd_NR_getrandom 278
# elif defined(__arm__)
@@ -258,6 +258,8 @@ assert_cc(__NR_copy_file_range == systemd_NR_copy_file_range);
# define systemd_NR_fchmodat2 452
# elif defined(__alpha__)
# define systemd_NR_fchmodat2 562
+# elif defined(__sw_64__)
+# define systemd_NR_fchmodat2 191
# elif defined(__arc__) || defined(__tilegx__)
# define systemd_NR_fchmodat2 452
# elif defined(__arm__)
@@ -319,6 +328,8 @@ assert_cc(__NR_getrandom == systemd_NR_getrandom);
# define systemd_NR_memfd_create 279
# elif defined(__alpha__)
@ -146,7 +155,7 @@ index 402fdd0..9680923 100644
# elif defined(__alpha__)
# define systemd_NR_mount_setattr 552
+# elif defined(__sw_64__)
+# define systemd_NR_mount_setattr 552
+# define systemd_NR_mount_setattr 181
# elif defined(__arc__) || defined(__tilegx__)
# define systemd_NR_mount_setattr 442
# elif defined(__arm__)

View File

@ -25,7 +25,7 @@
Name: systemd
Url: https://systemd.io/
Version: 255
Release: 37
Release: 38
License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager
@ -348,14 +348,7 @@ systemd-cryptsetup is used to set up (with attach) and tear down (with detach) a
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit -N
# DO NOT USE "%patch -R" TO REVERT A PATCH. If your patch is only used in
# specific scenarios or architectures, please put it after Patch9800 and
# use "%ifarch" to patch it after applying all other patches.
%autopatch -M 9800
%ifarch sw_64
%autopatch 9801
%endif
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
@ -1691,6 +1684,9 @@ fi
%{_unitdir}/veritysetup.target
%changelog
* Mon Mar 10 2025 mahailiang <mahailiang@uniontech.com> - 255-38
- update sw_64 patch
* Thu Jan 9 2025 huyubiao <huyubiao@huawei.com> - 255-37
- delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array