update sw_64 patch

(cherry picked from commit c63fdd0d2447368e607a0ae470efa6d6a07d657e)
This commit is contained in:
Hailiang 2025-03-10 17:03:23 +08:00 committed by openeuler-sync-bot
parent 5de891536e
commit 294007e733
2 changed files with 15 additions and 10 deletions

View File

@ -132,6 +132,15 @@ index 402fdd0..9680923 100644
# elif defined(__arc__) || defined(__tilegx__) # elif defined(__arc__) || defined(__tilegx__)
# define systemd_NR_getrandom 278 # define systemd_NR_getrandom 278
# elif defined(__arm__) # 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); @@ -319,6 +328,8 @@ assert_cc(__NR_getrandom == systemd_NR_getrandom);
# define systemd_NR_memfd_create 279 # define systemd_NR_memfd_create 279
# elif defined(__alpha__) # elif defined(__alpha__)
@ -146,7 +155,7 @@ index 402fdd0..9680923 100644
# elif defined(__alpha__) # elif defined(__alpha__)
# define systemd_NR_mount_setattr 552 # define systemd_NR_mount_setattr 552
+# elif defined(__sw_64__) +# elif defined(__sw_64__)
+# define systemd_NR_mount_setattr 552 +# define systemd_NR_mount_setattr 181
# elif defined(__arc__) || defined(__tilegx__) # elif defined(__arc__) || defined(__tilegx__)
# define systemd_NR_mount_setattr 442 # define systemd_NR_mount_setattr 442
# elif defined(__arm__) # elif defined(__arm__)

View File

@ -25,7 +25,7 @@
Name: systemd Name: systemd
Url: https://systemd.io/ Url: https://systemd.io/
Version: 255 Version: 255
Release: 37 Release: 38
License: MIT and LGPLv2+ and GPLv2+ License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager 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 %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit -N %autosetup -n %{name}-%{version} -p1 -Sgit
# 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
%build %build
@ -1691,6 +1684,9 @@ fi
%{_unitdir}/veritysetup.target %{_unitdir}/veritysetup.target
%changelog %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 * Thu Jan 9 2025 huyubiao <huyubiao@huawei.com> - 255-37
- delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array - delete Assertion o->object.type == OBJECT_ENTRY_ARRAY from the bump_entry_array