Patchwork [02/12] libgcrypt: No sbin dir, do_install_append fails, removing rmdir

login
register
mail settings
Submitter Morten Svendsen
Date Nov. 21, 2012, 10:28 p.m.
Message ID <2900352f14dc59e489307f5b96d67ab2ba833d4e.1353493728.git.Morten.ThunbergSvendsen@prevas.dk>
Download mbox | patch
Permalink /patch/200869/
State Accepted
Headers show

Comments

Morten Svendsen - Nov. 21, 2012, 10:28 p.m.
---
 recipes/libgcrypt/libgcrypt.inc |    3 ---
 1 file changed, 3 deletions(-)
Esben Haabendal - Dec. 14, 2012, 5:55 p.m.
Morten Thunberg Svendsen <Morten.ThunbergSvendsen@prevas.dk> writes:

> ---
>  recipes/libgcrypt/libgcrypt.inc |    3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
> index cbf2beb..01634f6 100644
> --- a/recipes/libgcrypt/libgcrypt.inc
> +++ b/recipes/libgcrypt/libgcrypt.inc
> @@ -15,9 +15,6 @@ do_install[postfuncs] += "do_install_append"
>  do_install_append() {
>  	install -d ${D}/${libdir}/pkgconfig
>  	install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
> -	
> -	# Remove empty sbin directory since we don't build the daemon that would install there
> -	rmdir ${D}${sbindir}
>  }
>  
>  FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"

Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
index cbf2beb..01634f6 100644
--- a/recipes/libgcrypt/libgcrypt.inc
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -15,9 +15,6 @@  do_install[postfuncs] += "do_install_append"
 do_install_append() {
 	install -d ${D}/${libdir}/pkgconfig
 	install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
-	
-	# Remove empty sbin directory since we don't build the daemon that would install there
-	rmdir ${D}${sbindir}
 }
 
 FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"