From 70f6fdaf00b23093ac1dcf3c837410d17b1a7297 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 23 Feb 2017 19:33:33 +0100 Subject: mmc-utils-cos: add update-alternative With this both mmc-utils and mmc-utils-cos can be installed on a target, however mmc-utils will take precedence as it is not configured for an update-alternative. In that case the binary will only be available as mmc.mmc-utils-cos Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-devtools/mmc/mmc-utils-cos_git.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes-devtools') diff --git a/recipes-devtools/mmc/mmc-utils-cos_git.bb b/recipes-devtools/mmc/mmc-utils-cos_git.bb index 5cc27ad..f3148c7 100644 --- a/recipes-devtools/mmc/mmc-utils-cos_git.bb +++ b/recipes-devtools/mmc/mmc-utils-cos_git.bb @@ -3,6 +3,11 @@ HOMEPAGE = "http://chromium.googlesource.com/chromiumos/third_party/mmc-utils.gi LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=17;md5=d7747fc87f1eb22b946ef819969503f0" +inherit update-alternatives + +ALTERNATIVE_${PN} = "mmc" +ALTERNATIVE_PRIORITY = "5" + SRCBRANCH ?= "master" SRCREV = "bcc3e2e4246431be511be3959a11cd9733bedd29" -- cgit v1.2.3