diff options
| author | Tom Rini <trini@konsulko.com> | 2019-05-18 19:57:46 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-05-20 09:49:01 -0700 |
| commit | 6c9390689dffb5c916b0063c82cc105209346f64 (patch) | |
| tree | 2e2a2393dbafb95a877308d011440e577344297d /meta-oe | |
| parent | d776e6e353ba2f34b2fef6b83a887735e85b9f1f (diff) | |
| download | meta-openembedded-6c9390689dffb5c916b0063c82cc105209346f64.tar.gz | |
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>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-core/toybox/toybox_0.7.5.bb | 4 |
1 files 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 614136e27f..069f0471c0 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" | |||
| 5 | LICENSE = "BSD-0-Clause" | 5 | LICENSE = "BSD-0-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511" |
| 7 | 7 | ||
| 8 | inherit cml1 update-alternatives | ||
| 9 | |||
| 8 | SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \ | 10 | SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \ |
| 9 | file://OE-path-changes.patch \ | 11 | file://OE-path-changes.patch \ |
| 10 | " | 12 | " |
| @@ -48,8 +50,6 @@ do_install() { | |||
| 48 | install -m 0644 ${B}/toybox.links ${D}${sysconfdir} | 50 | install -m 0644 ${B}/toybox.links ${D}${sysconfdir} |
| 49 | } | 51 | } |
| 50 | 52 | ||
| 51 | inherit cml1 update-alternatives | ||
| 52 | |||
| 53 | # If you've chosen to install toybox you probably want it to take precedence | 53 | # If you've chosen to install toybox you probably want it to take precedence |
| 54 | # over busybox where possible but not over other packages | 54 | # over busybox where possible but not over other packages |
| 55 | ALTERNATIVE_PRIORITY = "60" | 55 | ALTERNATIVE_PRIORITY = "60" |
