diff options
Diffstat (limited to 'files/keyutils-use-relative-path-for-link.patch')
-rw-r--r-- | files/keyutils-use-relative-path-for-link.patch | 28 |
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 @@ | |||
1 | Subject: [PATCH] keyutils: use relative path for link | ||
2 | |||
3 | The absolute path of the symlink will be invalid | ||
4 | when populated in sysroot, so use relative path instead. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
9 | --- | ||
10 | Makefile | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Makefile b/Makefile | ||
14 | index 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 | -- | ||
27 | 2.11.0 | ||
28 | |||