Patchwork [meta-oe] samba: Add usershare directory to the package

login
register
mail settings
Submitter Otavio Salvador
Date May 9, 2013, 3:25 p.m.
Message ID <1368113145-17108-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/49641/
State Accepted, archived
Headers show

Comments

Otavio Salvador - May 9, 2013, 3:25 p.m.
Change-Id: I0d9ad638c62cca929cded60752dbf75fc100017f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-connectivity/samba/samba.inc      |    3 +++
 meta-oe/recipes-connectivity/samba/samba_3.6.8.bb |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
Martin Jansa - May 10, 2013, 10:40 a.m.
On Thu, May 09, 2013 at 12:25:45PM -0300, Otavio Salvador wrote:
> Change-Id: I0d9ad638c62cca929cded60752dbf75fc100017f
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  meta-oe/recipes-connectivity/samba/samba.inc      |    3 +++
>  meta-oe/recipes-connectivity/samba/samba_3.6.8.bb |    2 +-
>  2 files changed, 4 insertions(+), 1 deletions(-)

Is this from danny? Please rebase and test your patches in master when
you're sending them for master.

I did it manually again and also removed Change-Id.

> diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
> index 3ee43ad..f9a54a2 100644
> --- a/meta-oe/recipes-connectivity/samba/samba.inc
> +++ b/meta-oe/recipes-connectivity/samba/samba.inc
> @@ -92,6 +92,9 @@ do_install_append() {
>  
>  	rmdir ${D}${base_sbindir}
>  	sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
> +
> +	# usershare mount place
> +	mkdir -p ${D}${localstatedir}/lib/samba/usershares
>  }
>  
>  
> diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> index 35d20c5..917c826 100644
> --- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> +++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> @@ -3,7 +3,7 @@ require samba-basic.inc
>  LICENSE = "GPLv3"
>  LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
>  
> -PR = "r7"
> +PR = "r8"
>  
>  SRC_URI += "\
>      file://config-h.patch \
> -- 
> 1.7.2.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Otavio Salvador - May 10, 2013, 11:39 a.m.
On Fri, May 10, 2013 at 7:40 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, May 09, 2013 at 12:25:45PM -0300, Otavio Salvador wrote:
>> Change-Id: I0d9ad638c62cca929cded60752dbf75fc100017f
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>  meta-oe/recipes-connectivity/samba/samba.inc      |    3 +++
>>  meta-oe/recipes-connectivity/samba/samba_3.6.8.bb |    2 +-
>>  2 files changed, 4 insertions(+), 1 deletions(-)
>
> Is this from danny? Please rebase and test your patches in master when
> you're sending them for master.
>
> I did it manually again and also removed Change-Id.

I think I ended sending it from danny branch. Forgot to rebase it, sorry.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch

diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
index 3ee43ad..f9a54a2 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -92,6 +92,9 @@  do_install_append() {
 
 	rmdir ${D}${base_sbindir}
 	sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
+
+	# usershare mount place
+	mkdir -p ${D}${localstatedir}/lib/samba/usershares
 }
 
 
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index 35d20c5..917c826 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -3,7 +3,7 @@  require samba-basic.inc
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r7"
+PR = "r8"
 
 SRC_URI += "\
     file://config-h.patch \