diff --git a/Systemd-Add-sw64-architecture.patch b/Systemd-Add-sw64-architecture.patch index 2de212554efc6d5b22a29e995abac0c4769e6aa2..641b12d4f030207a8b94bb8bb4ec1a9b5e1d6133 100644 --- a/Systemd-Add-sw64-architecture.patch +++ b/Systemd-Add-sw64-architecture.patch @@ -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__) diff --git a/systemd.spec b/systemd.spec index 750235c4464aaf5175b0d5a92fcadb2f8e7184af..30273add4ebf6c37210c7626e20a346d38841f4e 100644 --- a/systemd.spec +++ b/systemd.spec @@ -25,7 +25,7 @@ Name: systemd Url: https://systemd.io/ Version: 255 -Release: 25 +Release: 26 License: MIT and LGPLv2+ and GPLv2+ Summary: System and Service Manager @@ -318,14 +318,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 @@ -1661,6 +1654,9 @@ fi %{_unitdir}/veritysetup.target %changelog +* Mon Mar 10 2025 mahailiang - 255-26 +- update sw_64 patch + * Mon Nov 11 2024 xujing - 255-25 - pid1: add env var to override default mount rate limit interval