diff options
-rw-r--r-- | meta-networking/recipes-support/cifs/cifs-utils/0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch | 43 | ||||
-rw-r--r-- | meta-networking/recipes-support/cifs/cifs-utils_6.12.bb (renamed from meta-networking/recipes-support/cifs/cifs-utils_6.11.bb) | 6 |
2 files changed, 1 insertions, 48 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 @@ | |||
1 | From f61f5f8a328207867b5c523b1c6bef6aaecaab88 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | ||
3 | Date: Sat, 15 Feb 2020 16:05:58 +0800 | ||
4 | Subject: [PATCH] Bugfix: Modify the dir of install-exec-hook and | ||
5 | install-data-hook | ||
6 | |||
7 | Error 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' | ||
11 | make install-data-hook | ||
12 | ln: failed to create symbolic link 'mount.smb3': Permission denied | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> | ||
17 | --- | ||
18 | Makefile.am | 8 ++++---- | ||
19 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
20 | |||
21 | diff --git a/Makefile.am b/Makefile.am | ||
22 | index 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 | -- | ||
42 | 2.17.1 | ||
43 | |||
diff --git a/meta-networking/recipes-support/cifs/cifs-utils_6.11.bb b/meta-networking/recipes-support/cifs/cifs-utils_6.12.bb index de3fbb0947..c68b474cc6 100644 --- a/meta-networking/recipes-support/cifs/cifs-utils_6.11.bb +++ b/meta-networking/recipes-support/cifs/cifs-utils_6.12.bb | |||
@@ -4,7 +4,7 @@ SECTION = "otherosfs" | |||
4 | LICENSE = "GPLv3 & LGPLv3" | 4 | LICENSE = "GPLv3 & LGPLv3" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
6 | 6 | ||
7 | SRCREV = "ded4e81796a18cde73329e838357f084aa05720f" | 7 | SRCREV = "73008e3292e4d46fde3eab5d5f618886210ec4a1" |
8 | SRC_URI = "git://git.samba.org/cifs-utils.git" | 8 | SRC_URI = "git://git.samba.org/cifs-utils.git" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
@@ -20,10 +20,6 @@ PACKAGECONFIG[cifsidmap] = "--enable-cifsidmap,--disable-cifsidmap,keyutils samb | |||
20 | PACKAGECONFIG[cifsacl] = "--enable-cifsacl,--disable-cifsacl,samba" | 20 | PACKAGECONFIG[cifsacl] = "--enable-cifsacl,--disable-cifsacl,samba" |
21 | PACKAGECONFIG[pam] = "--enable-pam --with-pamdir=${base_libdir}/security,--disable-pam,libpam keyutils" | 21 | PACKAGECONFIG[pam] = "--enable-pam --with-pamdir=${base_libdir}/security,--disable-pam,libpam keyutils" |
22 | 22 | ||
23 | SRC_URI += " \ | ||
24 | file://0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch \ | ||
25 | " | ||
26 | |||
27 | inherit autotools pkgconfig | 23 | inherit autotools pkgconfig |
28 | 24 | ||
29 | do_install_append() { | 25 | do_install_append() { |