summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch')
-rw-r--r--meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch b/meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch
deleted file mode 100644
index 233ae40ce0..0000000000
--- a/meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From f61f5f8a328207867b5c523b1c6bef6aaecaab88 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Sat, 15 Feb 2020 16:05:58 +0800
4Subject: [PATCH] Bugfix: Modify the dir of install-exec-hook and
5 install-data-hook
6
7Error message:
8(cd /sbin && ln -sf mount.cifs mount.smb3)
9 /yocto/work001/fnst/wangmy/build/tmp/hosttools/install -c mount.cifs
10'/yocto/work001/fnst/wangmy/build/tmp/work/core2-64-poky-linux/cifs-utils/6.10-r0/image/sbin'
11make install-data-hook
12ln: failed to create symbolic link 'mount.smb3': Permission denied
13
14Upstream-Status: Pending
15
16Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
17---
18 Makefile.am | 8 ++++----
19 1 file changed, 4 insertions(+), 4 deletions(-)
20
21diff --git a/Makefile.am b/Makefile.am
22index fe9cd34..e9be6b3 100644
23--- a/Makefile.am
24+++ b/Makefile.am
25@@ -119,11 +119,11 @@ endif
26 SUBDIRS = contrib
27
28 install-exec-hook:
29- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
30+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
31
32 install-data-hook:
33- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
34+ (test -n "$(man_MANS)" || exit 0; cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
35
36 uninstall-hook:
37- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
38- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
39+ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(DESTDIR)$(ROOTSBINDIR)/mount.smb3)
40+ (test -n "$(man_MANS)" || exit 0; cd $(DESTDIR)$(man8dir) && rm -f $(DESTDIR)$(man8dir)/mount.smb3.8)
41--
422.17.1
43