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@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tom Rini 2019-05-18 19:57:46 -04:00 committed by Khem Raj
parent d776e6e353
commit 6c9390689d

View File

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