Skip to contentSkip to conversation

systemd: rename patches to follow the new name structure

PATCH New Vicente Olivert Riera 2 participants 4 messages Nov 4, 2014 – Nov 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 systemd: rename patches to follow the new name structure

---
 ...-getty-unit.patch => 0001-fix-getty-unit.patch} |    0
 ...ild-sys-revert-use-of-ln-relative-option.patch} |    0
 ...h => 0003-fix-am-path-libgcrypt-no-found.patch} |    0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename package/systemd/{systemd-01-fix-getty-unit.patch => 0001-fix-getty-unit.patch} (100%)
 rename package/systemd/{systemd-02-build-sys-revert-use-of-ln-relative-option.patch => 0002-build-sys-revert-use-of-ln-relative-option.patch} (100%)
 rename package/systemd/{systemd-03-fix-am-path-libgcrypt-no-found.patch => 0003-fix-am-path-libgcrypt-no-found.patch} (100%)
package/systemd/0001-fix-getty-unit.patch renamed from package/systemd/systemd-01-fix-getty-unit.patch +0 -0
similarity index 100%
rename from package/systemd/systemd-01-fix-getty-unit.patch
rename to package/systemd/0001-fix-getty-unit.patch
package/systemd/0002-build-sys-revert-use-of-ln-relative-option.patch renamed from package/systemd/systemd-02-build-sys-revert-use-of-ln-relative-option.patch +0 -0
similarity index 100%
rename from package/systemd/systemd-02-build-sys-revert-use-of-ln-relative-option.patch
rename to package/systemd/0002-build-sys-revert-use-of-ln-relative-option.patch
package/systemd/0003-fix-am-path-libgcrypt-no-found.patch renamed from package/systemd/systemd-03-fix-am-path-libgcrypt-no-found.patch +0 -0
similarity index 100%
rename from package/systemd/systemd-03-fix-am-path-libgcrypt-no-found.patch
rename to package/systemd/0003-fix-am-path-libgcrypt-no-found.patch
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 systemd: Properly define the __NR_memfd_create macro for MIPS

This is an upstream patch which has been applied to the master branch and I have adapted it to make it apply to the v216 version.

v217 is not fixed. This patch can be removed when we bump to v218.

Upstream commit:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=e6c019026b8cfd27a997e6e6ed1349f8f289b7e2

Fixes:
http://autobuild.buildroot.net/results/596/59617a822fb2c8961881dd78a0dc8e41bdb14ede/

---
 ...fine-the-__NR_memfd_create-macro-for-MIPS.patch |   60 ++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)
 create mode 100644 package/systemd/0004-Properly-define-the-__NR_memfd_create-macro-for-MIPS.patch
package/systemd/0004-Properly-define-the-__NR_memfd_create-macro-for-MIPS.patch new file +60 -0
new file mode 100644
index 0000000..6aca13c
@@ -0,0 +1,60 @@
+Properly define the __NR_memfd_create macro for MIPS
+
+This is an upstream patch which has been applied to the master branch
+and I have adapted it to make it apply to the v216 version.
+
+Upstream commit:
+  http://cgit.freedesktop.org/systemd/systemd/commit/?id=e6c019026b8cfd27a997e6e6ed1349f8f289b7e2
+
+Signed-off-by: Vicente Olivert Riera <[email protected]>
+
+From cdd25569e583ccfff3aef0eda175a2d07c00f859 Mon Sep 17 00:00:00 2001
+From: Vicente Olivert Riera <[email protected]>
+Date: Tue, 4 Nov 2014 10:49:58 +0000
+Subject: [PATCH] Properly define the __NR_memfd_create macro for MIPS
+
+This macro exists for MIPS since v3.17:
+  https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=42944521af97a3b25516f15f3149aec3779656dc
+
+Signed-off-by: Vicente Olivert Riera <[email protected]>
+---
+ src/shared/missing.h |    9 +++++++++
+ 1 files changed, 9 insertions(+), 0 deletions(-)
+
+diff --git a/src/shared/missing.h b/src/shared/missing.h
+index 3ff1a21..6888163 100644
+--- a/src/shared/missing.h
++++ b/src/shared/missing.h
+@@ -152,6 +152,9 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
+ #    ifndef __NR_fanotify_mark
+ #      define __NR_fanotify_mark 4337
+ #    endif
++#    ifndef __NR_memfd_create
++#      define __NR_memfd_create 4354
++#    endif
+ #  elif _MIPS_SIM == _MIPS_SIM_NABI32
+ #    ifndef __NR_fanotify_init
+ #      define __NR_fanotify_init 6300
+@@ -159,6 +162,9 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
+ #    ifndef __NR_fanotify_mark
+ #      define __NR_fanotify_mark 6301
+ #    endif
++#    ifndef __NR_memfd_create
++#      define __NR_memfd_create 6318
++#    endif
+ #  elif _MIPS_SIM == _MIPS_SIM_ABI64
+ #    ifndef __NR_fanotify_init
+ #      define __NR_fanotify_init 5295
+@@ -166,6 +172,9 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
+ #    ifndef __NR_fanotify_mark
+ #      define __NR_fanotify_mark 5296
+ #    endif
++#    ifndef __NR_memfd_create
++#      define __NR_memfd_create 5314
++#    endif
+ #  endif
+ #else
+ #  ifndef __NR_fanotify_init
+-- 
+1.7.1
+
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 systemd: Properly define the __NR_memfd_create macro for MIPS

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

This is an upstream patch which has been applied to the master branch and I have adapted it to make it apply to the v216 version.

v217 is not fixed. This patch can be removed when we bump to v218.

Quoted 7 lines

Upstream commit:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=e6c019026b8cfd27a997e6e6ed1349f8f289b7e2

Fixes:
http://autobuild.buildroot.net/results/596/59617a822fb2c8961881dd78a0dc8e41bdb14ede/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard