[oe-commits] [meta-openembedded] 04/11: toybox: Re-order inherit location so we can override do_configure

git at git.openembedded.org git at git.openembedded.org
Mon May 20 16:53:53 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 6c9390689dffb5c916b0063c82cc105209346f64
Author: Tom Rini <trini at konsulko.com>
AuthorDate: Sat May 18 19:57:46 2019 -0400

    toybox: Re-order inherit location so we can override do_configure
    
    We need to override the do_configure function to disable some applets.
    Move our inherit line to where they should be, stylistically, so that
    our function overrides the one from cml1.bbclass
    
    Signed-off-by: Tom Rini <trini at konsulko.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-core/toybox/toybox_0.7.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.5.bb b/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
index 614136e..069f047 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.7.5.bb
@@ -5,6 +5,8 @@ DEPENDS = "attr virtual/crypt"
 LICENSE = "BSD-0-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
 
+inherit cml1 update-alternatives
+
 SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
            file://OE-path-changes.patch \
            "
@@ -48,8 +50,6 @@ do_install() {
     install -m 0644 ${B}/toybox.links ${D}${sysconfdir}
 }
 
-inherit cml1 update-alternatives
-
 # If you've chosen to install toybox you probably want it to take precedence
 # over busybox where possible but not over other packages
 ALTERNATIVE_PRIORITY = "60"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list