aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-core/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-core/systemd')
-rw-r--r--meta-rcar-gen2/recipes-core/systemd/systemd/0001-Add-missing-define-to-header-of-old-porter-kernel.patch31
-rw-r--r--meta-rcar-gen2/recipes-core/systemd/systemd_%.bbappend2
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-core/systemd/systemd/0001-Add-missing-define-to-header-of-old-porter-kernel.patch b/meta-rcar-gen2/recipes-core/systemd/systemd/0001-Add-missing-define-to-header-of-old-porter-kernel.patch
new file mode 100644
index 0000000..75baa6f
--- /dev/null
+++ b/meta-rcar-gen2/recipes-core/systemd/systemd/0001-Add-missing-define-to-header-of-old-porter-kernel.patch
@@ -0,0 +1,31 @@
+From 2ff62c93fe2b8a0221f199f07060d0bcda46a4b9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@linuxfoundation.org>
+Date: Thu, 18 Aug 2016 10:22:27 +0200
+Subject: [PATCH] Add missing define to header of old porter kernel
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
+---
+ src/basic/missing.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/basic/missing.h b/src/basic/missing.h
+index 77be0c8..4fd1595 100644
+--- a/src/basic/missing.h
++++ b/src/basic/missing.h
+@@ -468,6 +468,10 @@ struct btrfs_ioctl_quota_ctl_args {
+ struct btrfs_ioctl_qgroup_limit_args)
+ #endif
+
++#ifndef BTRFS_IOC_QUOTA_RESCAN_WAIT
++#define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46)
++#endif
++
+ #ifndef BTRFS_FIRST_FREE_OBJECTID
+ #define BTRFS_FIRST_FREE_OBJECTID 256
+ #endif
+--
+2.1.4
+
diff --git a/meta-rcar-gen2/recipes-core/systemd/systemd_%.bbappend b/meta-rcar-gen2/recipes-core/systemd/systemd_%.bbappend
new file mode 100644
index 0000000..9cc6bec
--- /dev/null
+++ b/meta-rcar-gen2/recipes-core/systemd/systemd_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI += "file://0001-Add-missing-define-to-header-of-old-porter-kernel.patch"