summaryrefslogtreecommitdiffstats
path: root/files/keyutils-use-relative-path-for-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'files/keyutils-use-relative-path-for-link.patch')
-rw-r--r--files/keyutils-use-relative-path-for-link.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/files/keyutils-use-relative-path-for-link.patch b/files/keyutils-use-relative-path-for-link.patch
new file mode 100644
index 0000000000..dde1af44ac
--- /dev/null
+++ b/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