summaryrefslogtreecommitdiffstats
path: root/recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-05-24 10:22:36 +0800
committerArmin Kuster <akuster808@gmail.com>2017-06-01 08:01:34 -0700
commit37c47c164e4d02e6e9b1c106a73695e8a0094c30 (patch)
tree45ce1ecb1cadcdb38ad01f305791a902d87a0b32 /recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch
parent20f2f496c2cfb32ec164ac0b3d20676a214c4341 (diff)
downloadmeta-security-37c47c164e4d02e6e9b1c106a73695e8a0094c30.tar.gz
keyutils: add new recipe
keyutils is utilities to control the kernel key management facility and to provide a mechanism by which the kernel call back to userspace to get a key instantiated. It's required by ecryptfs-utils. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch')
-rw-r--r--recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch b/recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch
new file mode 100644
index 0000000..dde1af4
--- /dev/null
+++ b/recipes-security/keyutils/files/keyutils-use-relative-path-for-link.patch
@@ -0,0 +1,28 @@
1Subject: [PATCH] keyutils: use relative path for link
2
3The absolute path of the symlink will be invalid
4when populated in sysroot, so use relative path instead.
5
6Upstream-Status: Pending
7
8Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9---
10 Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile b/Makefile
14index 824bbbf..8ce3a13 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -167,7 +167,7 @@ ifeq ($(NO_SOLIB),0)
18 $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
19 $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
20 mkdir -p $(DESTDIR)$(USRLIBDIR)
21- $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
22+ $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
23 endif
24 $(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
25 $(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key
26--
272.11.0
28