Patchwork libcap: respect ${base_sbindir}

login
register
mail settings
Submitter Phil Blundell
Date Sept. 22, 2012, 1:25 p.m.
Message ID <1348320319.4444.212.camel@x121e.pbcl.net>
Download mbox | patch
Permalink /patch/37041/
State New
Headers show

Comments

Phil Blundell - Sept. 22, 2012, 1:25 p.m.
Need to pass the path explicitly to "make install" to ensure that the binaries end up
in the right locations.

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.22.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Sept. 24, 2012, 10:21 a.m.
On Sat, 2012-09-22 at 14:25 +0100, Phil Blundell wrote:
> Need to pass the path explicitly to "make install" to ensure that the binaries end up
> in the right locations.
> 
> Signed-off-by: Phil Blundell <pb@pbcl.net>
> ---
>  meta/recipes-support/libcap/libcap.inc     |    2 +-
>  meta/recipes-support/libcap/libcap_2.22.bb |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 5d7291e..bfaeffd 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -43,7 +43,7 @@  do_compile() {
 }
 
 do_install() {
-	oe_runmake install DESTDIR="${D}" prefix="${prefix}"
+	oe_runmake install DESTDIR="${D}" prefix="${prefix}" SBINDIR="${D}${base_sbindir}"
 }
 
 do_install_append() {
diff --git a/meta/recipes-support/libcap/libcap_2.22.bb b/meta/recipes-support/libcap/libcap_2.22.bb
index b631c51..d57c102 100644
--- a/meta/recipes-support/libcap/libcap_2.22.bb
+++ b/meta/recipes-support/libcap/libcap_2.22.bb
@@ -1,6 +1,6 @@ 
 require libcap.inc
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
 SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"