Skip to contentSkip to conversation

libcap: respect ${base_sbindir}

PATCH Applied Phil Blundell 2 participants 2 messages Sep 22, 2012 – Sep 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcap: respect ${base_sbindir}

Need to pass the path explicitly to "make install" to ensure that the binaries end up in the right locations.

---
 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.22.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/libcap/libcap.inc +1 -1
index 5d7291e..bfaeffd 100644
@@ -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() {
meta/recipes-support/libcap/libcap_2.22.bb +1 -1
index b631c51..d57c102 100644
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
 SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"
Signature · 1 line
1.7.9
#1 lore raw
Quoted 8 lines · Phil Blundell

Need to pass the path explicitly to "make install" to ensure that the binaries end up in the right locations.

---
 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